Skip to content

Commit

Permalink
refactor: revert webpack config to master
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinchappell committed Aug 30, 2020
1 parent 86bfa3e commit 8268db1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tools/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const extractTextLoader = !IS_PRODUCTION
? {
loader: 'style-loader',
options: {
sourceMap: true,
sourceMap: !IS_PRODUCTION,
},
}
: MiniCssExtractPlugin.loader
Expand Down Expand Up @@ -126,7 +126,7 @@ const webpackConfig = {
options: {
camelCase: true,
minimize: true,
sourceMap: true,
sourceMap: !IS_PRODUCTION,
},
},
{
Expand All @@ -137,13 +137,13 @@ const webpackConfig = {
browsers: ['> 1%'],
}),
],
sourceMap: true,
sourceMap: !IS_PRODUCTION,
},
},
{
loader: 'sass-loader',
options: {
sourceMap: true,
sourceMap: !IS_PRODUCTION,
},
},
],
Expand All @@ -157,7 +157,7 @@ const webpackConfig = {
new UglifyJsPlugin({
cache: true,
parallel: true,
sourceMap: true,
sourceMap: !IS_PRODUCTION,
}),
new OptimizeCSSAssetsPlugin(),
],
Expand Down

0 comments on commit 8268db1

Please sign in to comment.