Disable webpack optimization for themes
Sorry. If you want to, you can handle that with your reverse proxy. But I don't believe it will cause much problems, as theme .csses should be already cached by the browser.
This commit is contained in:
parent
3d77b32f9c
commit
2e310e79bf
1 changed files with 1 additions and 0 deletions
|
|
@ -157,6 +157,7 @@ export default {
|
||||||
minify: true,
|
minify: true,
|
||||||
css: true,
|
css: true,
|
||||||
legalComments: 'none',
|
legalComments: 'none',
|
||||||
|
exclude: [new RegExp(`css\\/(${Object.keys(themes).join('|')})\\.css$`)],
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
splitChunks: {
|
splitChunks: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue