commit
fdf9cd4abe
@ -52,22 +52,7 @@ const viteConfig = defineConfig((mode: ConfigEnv) => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
css: {
|
css: { preprocessorOptions: { css: { charset: false } } },
|
||||||
postcss: {
|
|
||||||
plugins: [
|
|
||||||
{
|
|
||||||
postcssPlugin: 'internal:charset-removal',
|
|
||||||
AtRule: {
|
|
||||||
charset: (atRule) => {
|
|
||||||
if (atRule.name === 'charset') {
|
|
||||||
atRule.remove();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
define: {
|
define: {
|
||||||
__VUE_I18N_LEGACY_API__: JSON.stringify(false),
|
__VUE_I18N_LEGACY_API__: JSON.stringify(false),
|
||||||
__VUE_I18N_FULL_INSTALL__: JSON.stringify(false),
|
__VUE_I18N_FULL_INSTALL__: JSON.stringify(false),
|
||||||
|
Loading…
Reference in New Issue
Block a user