kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Merge branch 'server-generated-meta' into 'develop'
vite: don't strip comments from index.html, restore server-generated-meta See merge request soapbox-pub/soapbox!2686environments/review-develop-3zknud/deployments/3855
commit
a969878763
|
@ -33,6 +33,10 @@ export default defineConfig({
|
||||||
compileTime(),
|
compileTime(),
|
||||||
createHtmlPlugin({
|
createHtmlPlugin({
|
||||||
template: 'index.html',
|
template: 'index.html',
|
||||||
|
minify: {
|
||||||
|
collapseWhitespace: true,
|
||||||
|
removeComments: false,
|
||||||
|
},
|
||||||
}),
|
}),
|
||||||
react({
|
react({
|
||||||
// Use React plugin in all *.jsx and *.tsx files
|
// Use React plugin in all *.jsx and *.tsx files
|
||||||
|
|
Ładowanie…
Reference in New Issue