更新 'webpack.dev.js'
This commit is contained in:
parent
3a14ff8020
commit
f2e5e0913a
|
@ -11,7 +11,9 @@ module.exports = merge(common, {
|
||||||
},
|
},
|
||||||
plugins: [new CaseSensitivePathsWebpackPlugin()],
|
plugins: [new CaseSensitivePathsWebpackPlugin()],
|
||||||
devServer: {
|
devServer: {
|
||||||
static: './public',
|
static: {
|
||||||
|
directory: path.join(__dirname, 'public'),
|
||||||
|
},
|
||||||
hot: true,
|
hot: true,
|
||||||
historyApiFallback: true,
|
historyApiFallback: true,
|
||||||
proxy: {},
|
proxy: {},
|
||||||
|
|
Reference in New Issue