Skip to content

Commit 554781b

Browse files
committed
Fix babel.config.js filename after build
1 parent 2cce938 commit 554781b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"rename": "bash -c 'for file in *.js; do mv $file \"${file%.js}.$0.js\"; done'",
4040
"build": "tsc --module commonjs && npm run rename -- cjs && tsc --declaration",
4141
"prebuild": "rm -r joy base core resources index* locale* types* styles* || true",
42-
"postpack": "tsx scripts/prepare-package.ts",
42+
"postpack": "tsx scripts/prepare-package.ts && mv babel.config.cjs.js babel.config.js",
4343
"test": "jest --config jestconfig.json",
4444
"postbuild": "cp -r src/resources ."
4545
},

0 commit comments

Comments
 (0)