diff --git a/script/build b/script/build index 09c4c5d05..beab4088a 100755 --- a/script/build +++ b/script/build @@ -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()