Skip to content
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

megalo.config.js配置选项 #1

Open
bigmeow opened this issue Jan 16, 2019 · 4 comments
Open

megalo.config.js配置选项 #1

bigmeow opened this issue Jan 16, 2019 · 4 comments
Labels
Discussion 需要讨论决定的

Comments

@bigmeow
Copy link
Member

bigmeow commented Jan 16, 2019

目前自定义配置文件支持的选项并不多

@bigmeow bigmeow added the Discussion 需要讨论决定的 label Jan 16, 2019
@goldlin
Copy link

goldlin commented Jan 17, 2019

给个chainWebpack的入口?

@bigmeow
Copy link
Member Author

bigmeow commented Jan 18, 2019

看了下,这个用 webpack-chain 实现应该不算太复杂
我是想着不做太复杂,能满足项目的需要,,配置尽量像VUE-CLI-3的配置上靠,最后megalo VUE-VLI-3的插件出来了,就可以迁移过去用它的生态了

@goldlin
Copy link

goldlin commented Jan 18, 2019

是的是的,我也是用过vue-cli3后觉得webpack-chain的入口很强大,可以让cli适应各种不同需求的项目
之前尝试用vue-cli3搭配megalo(默认模板生成,再一点点往上加)尝试做出同时支持h5和小程序的脚手架。可惜后面发现通过webpack-chain去调整webpack的target为@megalo/target似乎没有什么效果(不清楚是webpack-chain的问题还是vue-cli的问题,当时没时间去仔细看它们的代码),所以就先放着了。

@bigmeow
Copy link
Member Author

bigmeow commented Mar 13, 2019

给个chainWebpack的入口?

1.x 版先已支持

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion 需要讨论决定的
Projects
None yet
Development

No branches or pull requests

2 participants