sforkowany z mirror/soapbox
Don't strip comments from HTML
rodzic
34d57df806
commit
93ae2fff9b
|
@ -72,6 +72,14 @@ module.exports = {
|
||||||
chunksSortMode: 'manual',
|
chunksSortMode: 'manual',
|
||||||
chunks: ['common', 'locale_en', 'application', 'styles'],
|
chunks: ['common', 'locale_en', 'application', 'styles'],
|
||||||
alwaysWriteToDisk: true,
|
alwaysWriteToDisk: true,
|
||||||
|
minify: {
|
||||||
|
collapseWhitespace: true,
|
||||||
|
removeComments: false,
|
||||||
|
removeRedundantAttributes: true,
|
||||||
|
removeScriptTypeAttributes: true,
|
||||||
|
removeStyleLinkTypeAttributes: true,
|
||||||
|
useShortDoctype: true,
|
||||||
|
},
|
||||||
}),
|
}),
|
||||||
new HtmlWebpackHarddiskPlugin({
|
new HtmlWebpackHarddiskPlugin({
|
||||||
outputPath: join(__dirname, '..', 'static'),
|
outputPath: join(__dirname, '..', 'static'),
|
||||||
|
|
Ładowanie…
Reference in New Issue