java2sap
2021-12-31 ac03526ea51cb1baae67ab7dd2ee1e085f6a57a4
vite.config.js
@@ -32,5 +32,22 @@
        }
      },
    },
     //fix:error:stdin>:7356:1: warning: "@charset" must be the first rule in the file
    css: {
      postcss: {
        plugins: [
          {
            postcssPlugin: 'internal:charset-removal',
            AtRule: {
              charset: (atRule) => {
                if (atRule.name === 'charset') {
                  atRule.remove();
                }
              }
            }
          }
        ],
      },
    },
  }
})