Skip to content

Commit d28f42c

Browse files
committed
build(combobox-web): turbo.json config for running create-translation before build
1 parent 63bf2a5 commit d28f42c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

packages/pluggableWidgets/combobox-web/rollup.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@ const absoluteOutPackageDir = join(outDir, outWidgetDir);
1212
module.exports = args => {
1313
const result = args.configDefaultConfig;
1414

15-
// Ensure the locales directory exists in the output
1615
const localesDir = join(absoluteOutPackageDir, "locales");
1716
mkdir("-p", localesDir);
1817

19-
// Copy translation files
2018
const translationFiles = join(sourcePath, "dist/locales/**/*");
2119
cp("-r", translationFiles, localesDir);
2220

turbo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"inputs": ["package.json", "**/package.xml"]
99
},
1010
"build": {
11-
"dependsOn": ["^build"],
11+
"dependsOn": ["^build", "create-translation"],
1212
"outputs": ["dist/**", "!dist/tmp/**"]
1313
},
1414
"release": {

0 commit comments

Comments
 (0)