Build standalone on prepublish

This commit is contained in:
Nicolò Ribaudo
2018-12-15 09:07:39 +01:00
parent 47da5cf75a
commit 7bcd62cfee
3 changed files with 25 additions and 1 deletions

View 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",
});