feat(web): 同步预约演示与兜底渠道优化

This commit is contained in:
qiubaishen
2026-11-23 17:54:37 +08:00
parent 923579c0b7
commit 11fcffa6f0
11 changed files with 361 additions and 79 deletions
+1 -2
View File
@@ -41,9 +41,8 @@ function jsxInJsPlugin() {
function disableDevImportGlob() {
return {
name: 'disable-dev-import-glob',
apply: 'serve',
apply: (_, { command, isPreview }) => command === 'serve' && !isPreview,
configResolved(config) {
if (config.isPreview) return;
const plugin = config.plugins.find(
({ name }) => name === 'vite:import-glob',
);