We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import { defineConfig } from 'dumi'; console.log("====>函数外部"); function getPath() { console.log("函数内部!!!"); return 'test'; } export default defineConfig({ outputPath: getPath(), themeConfig: { name: '', }, });
The text was updated successfully, but these errors were encountered:
可以复现,但配置文件的返回值理应是稳定的,应该不会造成实质性影响;依赖 Umi 层调整配置文件初始化流程才能解决该问题,issue 将被转移到 Umi 仓库
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Versions
通过dumi脚手架创建项目后,在执行dumi dev或者dumi build的时候,.dumirc.ts文件执行两遍
.dumirc.ts文件代码如下
The text was updated successfully, but these errors were encountered: