Skip to content

Commit 3513e7d

Browse files
authored
Remove inline CSS sourcemaps from next-devtools (#83917)
This shrinks `next/dist/compiled/next-devtools/index.js` from 864kb -> 808kb
1 parent 12a6ee4 commit 3513e7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/next/next-devtools.webpack-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ module.exports = ({ dev, ...rest }) => {
125125
),
126126
},
127127
},
128-
'css-loader',
128+
{ loader: 'css-loader', options: { sourceMap: false } },
129129
],
130130
},
131131
],

0 commit comments

Comments
 (0)