chore: build standalone once in prepublish step (#11777)
This commit is contained in:
parent
4ce1b70ade
commit
0e4cf1e6a2
4
Makefile
4
Makefile
@ -211,8 +211,8 @@ clone-license:
|
||||
./scripts/clone-license.sh
|
||||
|
||||
prepublish-build: clean-lib clean-runtime-helpers
|
||||
NODE_ENV=production BABEL_ENV=production $(MAKE) build
|
||||
$(MAKE) clone-license
|
||||
NODE_ENV=production BABEL_ENV=production $(MAKE) build-bundle
|
||||
$(MAKE) prepublish-build-standalone clone-license
|
||||
|
||||
prepublish:
|
||||
$(MAKE) bootstrap-only
|
||||
|
||||
@ -7,9 +7,6 @@
|
||||
"babel.js",
|
||||
"babel.min.js"
|
||||
],
|
||||
"scripts": {
|
||||
"prepublishOnly": "cd ../.. && make prepublish-build-standalone"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.10.5",
|
||||
"@babel/helper-plugin-utils": "^7.10.4",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user