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
|
./scripts/clone-license.sh
|
||||||
|
|
||||||
prepublish-build: clean-lib clean-runtime-helpers
|
prepublish-build: clean-lib clean-runtime-helpers
|
||||||
NODE_ENV=production BABEL_ENV=production $(MAKE) build
|
NODE_ENV=production BABEL_ENV=production $(MAKE) build-bundle
|
||||||
$(MAKE) clone-license
|
$(MAKE) prepublish-build-standalone clone-license
|
||||||
|
|
||||||
prepublish:
|
prepublish:
|
||||||
$(MAKE) bootstrap-only
|
$(MAKE) bootstrap-only
|
||||||
|
|||||||
@ -7,9 +7,6 @@
|
|||||||
"babel.js",
|
"babel.js",
|
||||||
"babel.min.js"
|
"babel.min.js"
|
||||||
],
|
],
|
||||||
"scripts": {
|
|
||||||
"prepublishOnly": "cd ../.. && make prepublish-build-standalone"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.10.5",
|
"@babel/core": "^7.10.5",
|
||||||
"@babel/helper-plugin-utils": "^7.10.4",
|
"@babel/helper-plugin-utils": "^7.10.4",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user