From ea93c609b3c198839973f127858b08eaa4a02dd8 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 20 May 2018 23:08:27 +1000 Subject: [PATCH] Fixed the other missing settings.json call --- config/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/index.js b/config/index.js index d136e6ce..45f8dff5 100644 --- a/config/index.js +++ b/config/index.js @@ -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"