chore: Update vite.config.ts to remove cdnImport plugin
All checks were successful
CI / cache-and-install (push) Successful in 1m26s
All checks were successful
CI / cache-and-install (push) Successful in 1m26s
This commit is contained in:
@ -123,11 +123,12 @@ function Plugins() {
|
|||||||
headEnabled: true,
|
headEnabled: true,
|
||||||
}),
|
}),
|
||||||
vueDevTools(),
|
vueDevTools(),
|
||||||
cdnImport({
|
|
||||||
// https://github.com/mmf-fe/vite-plugin-cdn-import/blob/HEAD/README.zh-CN.md
|
// https://github.com/mmf-fe/vite-plugin-cdn-import/blob/HEAD/README.zh-CN.md
|
||||||
|
// 会对 Components 插件的自动导入产生影响。
|
||||||
|
/* cdnImport({
|
||||||
modules: ['vue'],
|
modules: ['vue'],
|
||||||
prodUrl: '//fastly.jsdelivr.net/npm/{name}@{version}/{path}',
|
prodUrl: '//fastly.jsdelivr.net/npm/{name}@{version}/{path}',
|
||||||
enableInDevMode: true,
|
enableInDevMode: true,
|
||||||
}),
|
}), */
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user