chore: Update vite.config.ts to enable ES modules for mobile-vue library
All checks were successful
CI / cache-and-install (push) Successful in 20m5s
All checks were successful
CI / cache-and-install (push) Successful in 20m5s
This commit is contained in:
@ -27,7 +27,8 @@ export default defineConfig(({ mode, command }) => {
|
||||
AutoImport({
|
||||
resolvers: [
|
||||
TDesignResolver({
|
||||
library: 'mobile-vue'
|
||||
library: 'mobile-vue',
|
||||
esm: true
|
||||
}),
|
||||
VantResolver({
|
||||
importStyle: true
|
||||
@ -42,7 +43,8 @@ export default defineConfig(({ mode, command }) => {
|
||||
Components({
|
||||
resolvers: [
|
||||
TDesignResolver({
|
||||
library: 'mobile-vue'
|
||||
library: 'mobile-vue',
|
||||
esm: true
|
||||
}),
|
||||
VantResolver({
|
||||
importStyle: true
|
||||
|
Reference in New Issue
Block a user