import {defineConfig} from 'vite'; import solidPlugin from 'vite-plugin-solid'; import windiCSS from 'vite-plugin-windicss'; export default defineConfig({ publicDir: 'static', plugins: [ solidPlugin(), windiCSS({ scan: { dirs: ['.'], }, }), ], build: { target: 'esnext', polyfillDynamicImport: false, }, });