-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
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
Missing entries start with ^ in pages field #4
Comments
这个包在这里获取了小程序的页面配置,然后返回了webpack需要的entry配置键值对,其他啥也没干,想支持 |
这个包是在 target 之前执行的,这个 bug target 那边处理不了 |
换种说法,megalo-entry 生成的 entries 要传给 webpack,但是 webpack 无法识别带 ^ 的 entry,这个应该是这个包的 bug,和 target 那边没关系 |
我debug了下,加了 |
@fengzilong target那边读到配置后,能把页面动态加入entry么,现在看代码,cli这边要读一次小程序的全局页面配置,target那边又读一次,两边都要设置进去才会生效 |
target 处理的话,那这个包似乎没什么用了,target 那边可以通过 app 拿到所有的 pages 我们微信沟通吧,加你了,这里效率有点低... |
比如:
pages/home/index
无法被正确处理The text was updated successfully, but these errors were encountered: