Run script/bootstrap immediately after running script/build

This will ensure all the dependencies used later in `script/build` are
installed.
This commit is contained in:
Antonio Scandurra
2016-08-30 11:48:43 +02:00
parent 795e47f307
commit de3fca49a8

View File

@@ -2,6 +2,10 @@
'use strict'
// Run bootstrap first to ensure all the dependencies used later in this script
// are installed.
require('./bootstrap')
// Needed so we can require src/module-cache.coffee during generateModuleCache
require('coffee-script/register')
require('colors')
@@ -42,8 +46,6 @@ process.on('unhandledRejection', function (e) {
process.exit(1)
})
require('./bootstrap')
cleanOutputDirectory()
copyAssets()
transpileBabelPaths()