@@ -33,4 +33,20 @@ export default defineConfig({
'@': path.resolve(__dirname, './src')
},
+ css: {
+ postcss: {
+ plugins: [
+ {
+ postcssPlugin: 'internal:charset-removal',
+ AtRule: {
+ charset: (atRule) => {
+ if (atRule.name === 'charset') {
+ atRule.remove()
+ }
+ ]
})