[Support] 未引入的文件被执行 #3480
-
Describe the problem(描述问题)我在db文件夹中放入seed.ts文件用于初始化数据库,但是在运行 于是我创建了个同样没有被任何文件引入的的 Midway Versions(Midway 版本)
|
Beta Was this translation helpful? Give feedback.
Answered by
czy88840616
Dec 7, 2023
Replies: 1 comment 2 replies
-
正常,框架启动会扫描业务目录做依赖树分析。 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
参考https://midwayjs.org/docs/container#%E8%87%AA%E5%8A%A8%E6%89%AB%E6%8F%8F%E7%BB%91%E5%AE%9A