Commit b419c83b authored by Reza Sahebgharan's avatar Reza Sahebgharan

test webpack config for production and development mode

parent 1f3fa74e
Pipeline #463 passed with stages
in 55 minutes and 37 seconds
...@@ -156,7 +156,7 @@ const clientConfig = { ...@@ -156,7 +156,7 @@ const clientConfig = {
performance: { performance: {
hints: false hints: false
}, },
devtool: 'source-map', devtool: process.env.NODE_ENV == 'production' ? '' : 'source-map',
plugins: [ plugins: [
new webpack.HotModuleReplacementPlugin(), new webpack.HotModuleReplacementPlugin(),
new HtmlWebpackPlugin({ new HtmlWebpackPlugin({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment