Skip to content

Commit f251a0e

Browse files
committed
added js files to build
1 parent 125af63 commit f251a0e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"build": "npm run clean && npm run build-version && npm run build-js && npm run postbuild-js",
1616
"build-version": "./timestamp.sh > src/versionInfo.ts && eslint 'src/versionInfo.ts' --fix",
1717
"build-form": "(cd src/schedule/ && make)",
18-
"build-js": "npm run build-form && tsc",
18+
"build-js": "npm run build-form && tsc && npm run build-js-babel",
19+
"build-js-babel": "babel src --out-dir dist --extensions '.js' --only '**/*.js' --source-maps",
1920
"postbuild-js": "rm -f dist/versionInfo.d.ts dist/versionInfo.d.ts.map",
2021
"build-dev": "webpack --progress --mode=development",
2122
"lint": "eslint",

0 commit comments

Comments
 (0)