Skip to content
This repository was archived by the owner on Jan 20, 2022. It is now read-only.

Commit 01ad28e

Browse files
committed
Use no sourceMaps
1 parent 84b64a4 commit 01ad28e

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

postcss.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
module.exports = context => ({
2-
options: {
3-
sourceMap: true
4-
},
2+
sourceMap: false,
53
plugins: {
64
'postcss-import': {
75
path: [

webpack.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,22 +68,22 @@ const settings = {
6868
{
6969
loader: 'style-loader',
7070
options: {
71-
sourceMap: true
71+
sourceMap: false
7272
}
7373
},
7474
{
7575
loader: 'css-loader',
7676
options: {
7777
modules: true,
78-
sourceMap: true,
78+
sourceMap: false,
7979
importLoaders: 1,
8080
localIdentName: dev('[name]--[local]--[hash:base64:5]').prod('[hash:base64]')
8181
}
8282
},
8383
{
8484
loader: 'postcss-loader',
8585
options: {
86-
sourceMap: true
86+
sourceMap: false
8787
}
8888
} // has separate PostCSS config nearby
8989
]

0 commit comments

Comments
 (0)