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({
|
AutoImport({
|
||||||
resolvers: [
|
resolvers: [
|
||||||
TDesignResolver({
|
TDesignResolver({
|
||||||
library: 'mobile-vue'
|
library: 'mobile-vue',
|
||||||
|
esm: true
|
||||||
}),
|
}),
|
||||||
VantResolver({
|
VantResolver({
|
||||||
importStyle: true
|
importStyle: true
|
||||||
@ -42,7 +43,8 @@ export default defineConfig(({ mode, command }) => {
|
|||||||
Components({
|
Components({
|
||||||
resolvers: [
|
resolvers: [
|
||||||
TDesignResolver({
|
TDesignResolver({
|
||||||
library: 'mobile-vue'
|
library: 'mobile-vue',
|
||||||
|
esm: true
|
||||||
}),
|
}),
|
||||||
VantResolver({
|
VantResolver({
|
||||||
importStyle: true
|
importStyle: true
|
||||||
|
Reference in New Issue
Block a user