mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
add minification to renderer build
This commit is contained in:
@@ -45,6 +45,10 @@ const config: UserConfig = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
renderer: {
|
renderer: {
|
||||||
|
build: {
|
||||||
|
cssMinify: 'esbuild',
|
||||||
|
minify: 'esbuild',
|
||||||
|
},
|
||||||
css: {
|
css: {
|
||||||
modules: {
|
modules: {
|
||||||
generateScopedName: 'fs-[name]-[local]',
|
generateScopedName: 'fs-[name]-[local]',
|
||||||
|
|||||||
Reference in New Issue
Block a user