Skip to content

Commit 259a998

Browse files
author
Andrew Welch
committed
Disable css-loader and postcss-loader sourcemaps, switch to devtool: 'eval-cheap-module-source-map'
1 parent 4e63e65 commit 259a998

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

buildchain/webpack.dev.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const configurePostcssLoader = () => {
6666
options: {
6767
url: false,
6868
importLoaders: 2,
69-
sourceMap: true
69+
sourceMap: false
7070
}
7171
},
7272
{
@@ -75,7 +75,7 @@ const configurePostcssLoader = () => {
7575
{
7676
loader: 'postcss-loader',
7777
options: {
78-
sourceMap: true,
78+
sourceMap: false,
7979
config: {
8080
path: path.resolve(__dirname),
8181
}
@@ -94,7 +94,7 @@ module.exports = merge(
9494
publicPath: settings.devServerConfig.public() + '/',
9595
},
9696
mode: 'development',
97-
devtool: 'inline-source-map',
97+
devtool: 'eval-cheap-module-source-map',
9898
devServer: configureDevServer(),
9999
module: {
100100
rules: [

0 commit comments

Comments
 (0)