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

新需求:增加对dist压缩打包支持 #51

Closed
kingyang opened this issue Jan 4, 2017 · 4 comments
Closed

新需求:增加对dist压缩打包支持 #51

kingyang opened this issue Jan 4, 2017 · 4 comments

Comments

@kingyang
Copy link

kingyang commented Jan 4, 2017

方便分发.
支持自定义打包命名规则和位置

@sorrycc
Copy link
Owner

sorrycc commented Jan 4, 2017

现在默认就会压缩的,如何自定义命名规则和位置?需求是啥?

@kingyang
Copy link
Author

kingyang commented Jan 5, 2017

早啊,谢谢回复
我的需求build之后,需要对build再压缩成一个zip文件.便于分发到测试/或现场
现在我们是用gulp再次处理一下,zip文件命名为项目名+当前日期

@sorrycc
Copy link
Owner

sorrycc commented Jan 5, 2017

这个就用 gulp 吧,职责清晰,roadhog 只管 webpack 这一层的打包。

@kingyang
Copy link
Author

kingyang commented Jan 5, 2017

嗯,好的

@kingyang kingyang closed this as completed Jan 5, 2017
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

2 participants