mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
Move build folder inside lib
This commit is contained in:
parent
ad14d7439e
commit
ef4065b350
@ -3,7 +3,7 @@
|
||||
import vueLoaderConfig from './vue-loader.config'
|
||||
import { defaults } from 'lodash'
|
||||
import { join } from 'path'
|
||||
import { urlJoin } from '../../utils'
|
||||
import { urlJoin } from '../utils'
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
@ -39,7 +39,7 @@ export default function () {
|
||||
})
|
||||
|
||||
// Externals
|
||||
const nuxtPackageJson = require('../../../package.json')
|
||||
const nuxtPackageJson = require('../../package.json')
|
||||
const projectPackageJsonPath = resolve(this.dir, 'package.json')
|
||||
config.externals = Object.keys(nuxtPackageJson.dependencies || {})
|
||||
if (existsSync(projectPackageJsonPath)) {
|
Loading…
Reference in New Issue
Block a user