diff options
Diffstat (limited to 'scripts/postinstall.js')
-rw-r--r-- | scripts/postinstall.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/postinstall.js b/scripts/postinstall.js new file mode 100644 index 000000000..84e7492ef --- /dev/null +++ b/scripts/postinstall.js | |||
@@ -0,0 +1,8 @@ | |||
1 | const { exec } = require('child_process'); | ||
2 | |||
3 | // eslint-disable-next-line no-console | ||
4 | const log = (err, stdout, stderr) => console.log(err || stdout || stderr); | ||
5 | |||
6 | if (!process.env.BUNDLING) { | ||
7 | exec('npx lerna run build', log); | ||
8 | } | ||