mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
now you can change rootDir
This commit is contained in:
parent
3ded0cd5d0
commit
89bb379166
@ -14,7 +14,7 @@ const { urlJoin } = require('../../utils')
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
module.exports = function () {
|
||||
const nodeModulesDir = join(__dirname, '..', '..', '..', 'node_modules')
|
||||
const nodeModulesDir = join(this.dir, 'node_modules')
|
||||
let config = {
|
||||
devtool: 'source-map',
|
||||
entry: {
|
||||
|
Loading…
Reference in New Issue
Block a user