Move build folder inside lib

This commit is contained in:
Sébastien Chopin 2017-01-19 16:25:32 +01:00
parent ad14d7439e
commit ef4065b350
5 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
import vueLoaderConfig from './vue-loader.config' import vueLoaderConfig from './vue-loader.config'
import { defaults } from 'lodash' import { defaults } from 'lodash'
import { join } from 'path' import { join } from 'path'
import { urlJoin } from '../../utils' import { urlJoin } from '../utils'
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------

View File

@ -39,7 +39,7 @@ export default function () {
}) })
// Externals // Externals
const nuxtPackageJson = require('../../../package.json') const nuxtPackageJson = require('../../package.json')
const projectPackageJsonPath = resolve(this.dir, 'package.json') const projectPackageJsonPath = resolve(this.dir, 'package.json')
config.externals = Object.keys(nuxtPackageJson.dependencies || {}) config.externals = Object.keys(nuxtPackageJson.dependencies || {})
if (existsSync(projectPackageJsonPath)) { if (existsSync(projectPackageJsonPath)) {