Build standalone on prepublish
This commit is contained in:
7
packages/babel-standalone/scripts/prepublish.js
Normal file
7
packages/babel-standalone/scripts/prepublish.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// This file is executed by lerna before publishing @babel/standalone,
|
||||
// so that it has the new version and not the old one.
|
||||
|
||||
require("child_process").execSync("make prepublish-build-standalone", {
|
||||
cwd: require("path").resolve(__dirname, "../../.."),
|
||||
stdio: "inherit",
|
||||
});
|
||||
Reference in New Issue
Block a user