gaoluyang
2025-05-16 761f38e975bc4f4d6973eb92996504928e1b30b0
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()
                }
              }
            }