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

tina 能够支持多页配置? #48

Open
baofengs opened this issue Aug 12, 2019 · 3 comments
Open

tina 能够支持多页配置? #48

baofengs opened this issue Aug 12, 2019 · 3 comments

Comments

@baofengs
Copy link

有这样一个需求:

同时要开发 & 维护两个小程序,期望将它们放在一个项目中,开发过程同多页面文件开发一样。
不知该如何配置,作者能够提供一下解决思路

谢谢

@imyelo
Copy link
Member

imyelo commented Aug 12, 2019

目前没有很方便的方法,只能配置两份 webpack.config.js,分别将 entry 指向两个项目的 app.mina 文件,然后单独编译。
有兴趣的话可以试下改 mina-entry-webpack-plugin,使其支持列表类型的 entry 参数。

@callmesoul
Copy link
Contributor

我们 现在是分开两个项目的,尽管有页面 一样

@erguotou520
Copy link

webpack配置可以改成数组,entryoutput.path分别设置就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants