update how svg is used

This commit is contained in:
chuan_wuhao 2022-08-17 18:34:55 +08:00
parent 458a5f2b1d
commit 4af5d743f1

View File

@ -42,9 +42,6 @@ export default defineConfig(async ({ mode }) => {
},
build: {
...useViteBuildPlugin(buildOptions),
rollupOptions: {
external: 'virtual:svg-icons-register',
},
},
css: {
preprocessorOptions: {