feat(web): 同步预约演示与兜底渠道优化
This commit is contained in:
+1
-2
@@ -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',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user