gaoluyang
2025-05-08 0a742d63e828d5baaa30d261a5dc9c011e5f6ab2
vite.config.js
@@ -59,7 +59,6 @@
        }
      }
    },
    //fix:error:stdin>:7356:1: warning: "@charset" must be the first rule in the file
    css: {
      postcss: {
        plugins: [
@@ -68,7 +67,7 @@
            AtRule: {
              charset: (atRule) => {
                if (atRule.name === 'charset') {
                  atRule.remove();
                  atRule.remove()
                }
              }
            }