Import babel-require in nuxt-build bin

This commit is contained in:
Paul Gascou-Vaillancourt 2017-10-20 11:12:57 -04:00
parent 1b18bc692b
commit 92db9e8697
2 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@
// Show logs
process.env.DEBUG = process.env.DEBUG || 'nuxt:*'
require('babel-register');
const fs = require('fs')
const parseArgs = require('minimist')
const { Nuxt, Builder, Generator } = require('../')

View File

@ -128,6 +128,7 @@
"babel-plugin-array-includes": "^2.0.3",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-istanbul": "^4.1.5",
"babel-register": "^6.26.0",
"codecov": "^2.3.0",
"copy-webpack-plugin": "^4.1.1",
"cross-env": "^5.0.5",