mirror of https://github.com/aldy505/code.git
20 lines
359 B
JavaScript
20 lines
359 B
JavaScript
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,
|
|
},
|
|
});
|