code/vite.config.js

20 lines
359 B
JavaScript
Raw Normal View History

2021-07-05 18:32:33 +00:00
import {defineConfig} from 'vite';
import solidPlugin from 'vite-plugin-solid';
import windiCSS from 'vite-plugin-windicss';
export default defineConfig({
2021-07-12 08:23:02 +00:00
publicDir: 'static',
plugins: [
solidPlugin(),
windiCSS({
scan: {
dirs: ['.'],
},
}),
],
2021-07-05 18:32:33 +00:00
build: {
target: 'esnext',
polyfillDynamicImport: false,
},
});