Skip to content

Commit 11476d7

Browse files
committed
Revert inline true, this breaks the extension preventing it from loading and has minimal impact on actual extension module size.
1 parent fd18fb9 commit 11476d7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

webpack.prod.js

+1-6
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const minimizerOptions = {
88
parse: {},
99
compress: {
1010
dead_code: false,
11-
inline: true,
11+
inline: false,
1212
module: true
1313
},
1414
mangle: false,
@@ -17,16 +17,11 @@ const minimizerOptions = {
1717
keep_fnames: true
1818
}
1919

20-
const chunkingOptions = {
21-
chunks: 'all'
22-
}
23-
2420
module.exports = env => common(env, {
2521
mode: 'production',
2622
devtool: 'none',
2723
optimization: {
2824
mergeDuplicateChunks: true,
29-
splitChunks: chunkingOptions,
3025
minimizer: [new TerserPlugin({ terserOptions: minimizerOptions })]
3126
}
3227
});

0 commit comments

Comments
 (0)