chore: Update vite.config.ts to remove cdnImport plugin
All checks were successful
CI / cache-and-install (push) Successful in 1m26s

This commit is contained in:
严浩
2024-08-22 20:13:38 +08:00
parent 2a78b2db01
commit dd116501e2

View File

@ -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,
}), }), */
]; ];
} }