chore: update build

This commit is contained in:
zazzaz
2020-11-02 18:56:19 +08:00
parent 2d2ed23cd3
commit 1d5d3ee4a8

View File

@@ -7,7 +7,7 @@
"test": "jest",
"gen": "bash ./scripts/gc.sh",
"bootstrap": "yarn && npx lerna bootstrap",
"build": "yarn bootstrap && yarn build:lib && yarn build:theme",
"build": "yarn bootstrap && yarn build:lib && yarn build:theme && yarn build:esm-bundle && yarn build:esm",
"build:lib": "rimraf lib && webpack --config ./build/webpack.config.js",
"build:esm-bundle": "rollup --config ./build/rollup.config.bundle.js",
"build:esm": "node ./build/bincomp.js",