chore: update farm version

This commit is contained in:
Bright
2023-12-02 23:14:41 +08:00
parent f471b3154d
commit 9c3f3abc26
4 changed files with 131 additions and 101 deletions

View File

@@ -55,18 +55,12 @@ export function setupVitePlugins(viteEnv: ImportMetaEnv): (PluginOption | Plugin
*/
export function setupFarmVitePlugins(viteEnv: ImportMetaEnv): (PluginOption | PluginOption[])[] {
const plugins = [
() => ({
vitePlugin: vue({
script: {
defineModel: true
}
}),
filters: ['\\.vue$', '\\\\0.+']
}),
() => ({
vitePlugin: vueJsx(),
filters: ['\\.vue$', '\\\\0.+']
vue({
script: {
defineModel: true
}
}),
vueJsx(),
// VueDevtools(),
...unplugin(viteEnv, true),
// unocss(),