Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 44300b0

Browse files
committed
changing webpack-dev-server-config
1 parent ec0db97 commit 44300b0

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

media-store/app-src/webpack/webpack-dev-server.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ module.exports = {
1010
devtool: 'inline-source-map',
1111
entry: {
1212
index: './src/index.jsx',
13-
react: ['react', 'react-dom'],
14-
lodash: ['lodash'],
15-
moment: ['moment'],
16-
events: ['events'],
17-
axios: ['axios'],
18-
antd: ['antd'],
1913
},
2014
devServer: {
2115
contentBase: './dist',
@@ -43,7 +37,7 @@ module.exports = {
4337
new webpack.DefinePlugin({
4438
'process.env.SERVICE_URL': JSON.stringify('http://localhost:4004/'),
4539
}),
46-
new webpack.HotModuleReplacementPlugin(), // for hot module replacement option of devServer
40+
// new webpack.HotModuleReplacementPlugin(), // for hot module replacement option of devServer
4741
],
4842
output: {
4943
filename: '[name].[fullhash].js',

0 commit comments

Comments
 (0)