Skip to content

Commit

Permalink
chore: build standalone once in prepublish step
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Jul 1, 2020
1 parent d67629b commit c92064e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -210,8 +210,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
Expand Down
3 changes: 0 additions & 3 deletions packages/babel-standalone/package.json
Expand Up @@ -7,9 +7,6 @@
"babel.js",
"babel.min.js"
],
"scripts": {
"prepublishOnly": "cd ../.. && make prepublish-build-standalone"
},
"devDependencies": {
"@babel/core": "^7.10.4",
"@babel/helper-plugin-utils": "^7.10.4",
Expand Down

0 comments on commit c92064e

Please sign in to comment.