...
|
...
|
@@ -13,7 +13,7 @@ fs.open('./src/config/env.js', 'w', function (err, fd) { |
|
|
module.exports = merge(webpackBaseConfig, {
|
|
|
devtool: '#source-map',
|
|
|
output: {
|
|
|
publicPath: '/dist/',
|
|
|
publicPath: '/dist',
|
|
|
filename: '[name].js',
|
|
|
chunkFilename: '[name].chunk.js'
|
|
|
},
|
...
|
...
|
@@ -37,6 +37,9 @@ module.exports = merge(webpackBaseConfig, { |
|
|
'/api': 'http://localhost:8080'
|
|
|
},
|
|
|
port: 8000,
|
|
|
host: '0.0.0.0'
|
|
|
historyApiFallback: {
|
|
|
index: 'index.html',
|
|
|
logger: console.log.bind(console)
|
|
|
}
|
|
|
}
|
|
|
}); |
|
|
\ No newline at end of file |
...
|
...
|
|