vite: don't strip comments from index.html, restore server-generated-meta
This commit is contained in:
parent
36b41e06e4
commit
49f8b1e55e
1 changed files with 4 additions and 0 deletions
|
@ -33,6 +33,10 @@ export default defineConfig({
|
|||
compileTime(),
|
||||
createHtmlPlugin({
|
||||
template: 'index.html',
|
||||
minify: {
|
||||
collapseWhitespace: true,
|
||||
removeComments: false,
|
||||
},
|
||||
}),
|
||||
react({
|
||||
// Use React plugin in all *.jsx and *.tsx files
|
||||
|
|
Loading…
Reference in a new issue