mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-11-21 07:56:47 +08:00
chore: update farm version
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user