Skip to content

Commit 358c725

Browse files
authored
Merge pull request #19899 from mozilla/FXA-12891
chore(email-renderer): Fix issue with snapshots failing in CI
2 parents 745da87 + 9b6c5f7 commit 358c725

3 files changed

Lines changed: 18208 additions & 6 deletions

File tree

libs/accounts/email-renderer/project.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"tags": ["scope:shared:lib"],
77
"targets": {
88
"build": {
9-
"dependsOn": ["l10n-merge", "build-css", "build-ts"],
9+
"dependsOn": ["build-ts", "l10n-merge", "build-css"],
1010
"executor": "nx:run-commands",
1111
"options": {
1212
"commands": [
@@ -119,13 +119,17 @@
119119
"outputs": ["{projectRoot}/public/en/auth.ftl"]
120120
},
121121
"l10n-merge": {
122+
"dependsOn": ["l10n-prime"],
122123
"executor": "nx:run-commands",
123124
"options": {
124125
"command": "yarn grunt --gruntfile libs/accounts/email-renderer/gruntfile.js l10n-merge",
125126
"cwd": "."
126127
},
127128
"inputs": ["{projectRoot}/gruntfile.js", "{projectRoot}/src/**/en.ftl"],
128-
"outputs": ["{projectRoot}/public/en/auth.ftl"]
129+
"outputs": [
130+
"{projectRoot}/public/locales/en/emails.ftl",
131+
"{projectRoot}/public/locales/en/branding.ftl"
132+
]
129133
},
130134
"l10n-copy": {
131135
"executor": "nx:run-commands",

0 commit comments

Comments
 (0)