mirror of
https://github.com/tsl0922/ttyd.git
synced 2025-12-22 03:44:19 +01:00
webpack: minify html for production
This commit is contained in:
@@ -19,6 +19,10 @@ module.exports = merge(config, {
|
||||
},
|
||||
plugins: [
|
||||
new HtmlWebpackPlugin({
|
||||
minify: {
|
||||
removeComments: true,
|
||||
collapseWhitespace: true,
|
||||
},
|
||||
inlineSource: '.(js|css)$',
|
||||
template: 'index.html',
|
||||
}),
|
||||
|
||||
46
src/index.html
vendored
46
src/index.html
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user