19 lines
377 B
TypeScript
19 lines
377 B
TypeScript
import { defineConfig } from "vite";
|
|
import solidPlugin from "vite-plugin-solid";
|
|
import WindiCSS from "vite-plugin-windicss";
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
solidPlugin(),
|
|
WindiCSS({
|
|
scan: {
|
|
fileExtensions: ["html", "js", "ts", "jsx", "tsx"],
|
|
},
|
|
}),
|
|
],
|
|
build: {
|
|
target: "esnext",
|
|
polyfillDynamicImport: false,
|
|
},
|
|
});
|