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

希望能完善非微信小程序的编译方案 #1504

Closed
hugetiny opened this issue Dec 14, 2018 · 4 comments
Closed

希望能完善非微信小程序的编译方案 #1504

hugetiny opened this issue Dec 14, 2018 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@hugetiny
Copy link

历史原因,适配都是微信小程序优先
Taro版本:1.1.8

#需求1 首先各个平台乃至细分平台请分开目录
腾讯,阿里(支付宝,钉钉,mPaas(蚂蚁金服)),百度打包的时候都会编译到dist目录里:
.weapp_temp
.alipay_temp

#需求2 第一步目录分好后希望可以约定大于配置的思想,dist中需要在模拟器中调试的各个平台差异文件夹部分不变
因为dist出来后肯定需要在各个模拟器里调试增删代码。
如果要手动拷贝出来旧的,新编译的每次都要和老的differ
比如.alipay_temp/alipayApi中在小程序开发工具中改过的代码,
每次build alipay后在.alipay_temp/alipayApi中的代码都不变

#需求3 chrome中调试H5貌似webpack读的是dist里面的js,
webpack:///.temp/utils/request.js?061f 这样的
有没有babel-register实时转码方式能够直接看到src代码

@taro-bot
Copy link

taro-bot bot commented Dec 14, 2018

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@yuche yuche added the CLI label Dec 14, 2018
@taro-bot
Copy link

taro-bot bot commented Dec 14, 2018

CC @luckyadam

@yuche
Copy link
Contributor

yuche commented Jul 16, 2019

在目前的版本三个功能均已实现,详情请翻阅 Taro 文档。

@hugetiny
Copy link
Author

yeah~

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

No branches or pull requests

3 participants