vite: don't strip comments from index.html, restore server-generated-meta

environments/review-server-gen-c2zlq2/deployments/3854
Alex Gleason 2023-09-15 22:38:29 -05:00
rodzic 36b41e06e4
commit 49f8b1e55e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -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