Don't strip comments from HTML

merge-requests/100/merge
Alex Gleason 2020-07-15 11:10:27 -05:00
rodzic 34d57df806
commit 93ae2fff9b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -72,6 +72,14 @@ module.exports = {
chunksSortMode: 'manual',
chunks: ['common', 'locale_en', 'application', 'styles'],
alwaysWriteToDisk: true,
minify: {
collapseWhitespace: true,
removeComments: false,
removeRedundantAttributes: true,
removeScriptTypeAttributes: true,
removeStyleLinkTypeAttributes: true,
useShortDoctype: true,
},
}),
new HtmlWebpackHarddiskPlugin({
outputPath: join(__dirname, '..', 'static'),