feat: move webpack-dev-server to scripts

This commit is contained in:
eilenexuzhe
2021-12-27 17:12:51 +08:00
parent 5ef8fff5bc
commit ec28eba781

View File

@@ -122,11 +122,11 @@ module.exports = {
}, },
}, },
devServer: { devServer: {
contentBase: outPath, // contentBase: outPath,
host: '127.0.0.1', host: '127.0.0.1',
port: 1025, port: 1025,
hot: true, hot: true,
disableHostCheck: true, // disableHostCheck: true,
historyApiFallback: true, historyApiFallback: true,
proxy: { proxy: {
'/api/v1/': { '/api/v1/': {