Skip to content

Commit 2af5f0a

Browse files
committed
temporarily disable CommonsChunkPlugin
1 parent 93db160 commit 2af5f0a

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

apps/Gruntfile.js

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -610,26 +610,26 @@ describe('entry tests', () => {
610610
}
611611
],
612612
plugins: [
613-
new webpack.optimize.CommonsChunkPlugin({
614-
name: 'common',
615-
chunks: _.keys(appsEntries),
616-
minChunks: 2
617-
}),
618-
new webpack.optimize.CommonsChunkPlugin({
619-
name: 'code-studio-common',
620-
chunks: _.keys(codeStudioEntries).concat(['common']),
621-
minChunks: 2
622-
}),
623-
new webpack.optimize.CommonsChunkPlugin({
624-
name: 'essential',
625-
minChunks: 2,
626-
chunks: [
627-
'peer_reviews',
628-
'plc',
629-
'pd',
630-
'code-studio-common',
631-
]
632-
}),
613+
// new webpack.optimize.CommonsChunkPlugin({
614+
// name: 'common',
615+
// chunks: _.keys(appsEntries),
616+
// minChunks: 2
617+
// }),
618+
// new webpack.optimize.CommonsChunkPlugin({
619+
// name: 'code-studio-common',
620+
// chunks: _.keys(codeStudioEntries).concat(['common']),
621+
// minChunks: 2
622+
// }),
623+
// new webpack.optimize.CommonsChunkPlugin({
624+
// name: 'essential',
625+
// minChunks: 2,
626+
// chunks: [
627+
// 'peer_reviews',
628+
// 'plc',
629+
// 'pd',
630+
// 'code-studio-common',
631+
// ]
632+
// }),
633633
...(process.env.ANALYZE_BUNDLE ? [
634634
new BundleAnalyzerPlugin({
635635
analyzerMode: 'static',

0 commit comments

Comments
 (0)