Fixed the other missing settings.json call

This commit is contained in:
Sam 2018-05-20 23:08:27 +10:00
parent 2f520fda54
commit ea93c609b3
1 changed files with 2 additions and 3 deletions

View File

@ -1,13 +1,12 @@
// see http://vuejs-templates.github.io/webpack for documentation.
var path = require('path')
const settings = require('../settings.json')
module.exports = {
build: {
env: require('./prod.env'),
index: path.resolve(__dirname, '../dist/index.html'),
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: settings.webroot,
assetsSubDirectory: '',
assetsPublicPath: '/',
productionSourceMap: true,
// Gzip off by default as many popular static hosts such as
@ -26,7 +25,7 @@ module.exports = {
env: require('./dev.env'),
port: 8080,
autoOpenBrowser: true,
assetsSubDirectory: settings.webroot,
assetsSubDirectory: '',
assetsPublicPath: '/',
proxyTable: {},
// CSS Sourcemaps off by default because relative paths are "buggy"