sheng
sheng
`import { defineConfig } from "@farmfe/core"; import Vue from "@vitejs/plugin-vue"; function configureVitePluginVue() { return { vitePlugin: Vue(), filters: ["\\.vue$", "\\\\0.+"], }; } export default defineConfig({ vitePlugins: [configureVitePluginVue()], });` [ Farm...
thank you.
ok, success
add the filters configuration, the error persists, you can try it
> 添加过滤器配置后,错误是否仍然存在?`can not load xxx.vue` yes
#688
iconfont.css 文件 `@font-face { font-family: "iconfont"; src: url('iconfont.ttf?t=1709607579696') format('truetype'); } ...`
> 是不是手动又改掉了 NODE_ENV 呢 我测试过了 @farmfe/core 从 1.0.4开始不正确了,1.0.3是正确的
@ErKeLost 试一下 https://github.com/289420843/farm-test1 1. npm install 2. npm run build 3. 控制台输出 “@cc isProd false development”
是其他插件导致,暂时先关闭该问题,后续遇到再继续讨论