diff --git a/packages/plugins/@nocobase/plugin-field-markdown-vditor/build.config.ts b/packages/plugins/@nocobase/plugin-field-markdown-vditor/build.config.ts index 696749bedf..5362368a8a 100644 --- a/packages/plugins/@nocobase/plugin-field-markdown-vditor/build.config.ts +++ b/packages/plugins/@nocobase/plugin-field-markdown-vditor/build.config.ts @@ -12,4 +12,8 @@ export default defineConfig({ force: true, }); }, + modifyViteConfig(config) { + config.define['process.env.APP_ENV'] = `'production'`; + return config; + }, });