now you can change rootDir

This commit is contained in:
cj 2016-12-08 12:03:48 -06:00
parent 3ded0cd5d0
commit 89bb379166

View File

@ -14,7 +14,7 @@ const { urlJoin } = require('../../utils')
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
*/ */
module.exports = function () { module.exports = function () {
const nodeModulesDir = join(__dirname, '..', '..', '..', 'node_modules') const nodeModulesDir = join(this.dir, 'node_modules')
let config = { let config = {
devtool: 'source-map', devtool: 'source-map',
entry: { entry: {