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

feat: use jpg as default file type #178

Merged
merged 2 commits into from
Jan 29, 2021
Merged

Conversation

ambar
Copy link
Contributor

@ambar ambar commented Jan 7, 2021

变更

  • 图片裁剪应该默认 JPG,比如 300x300 PNG 会是 122K,而 JPG 只有 17K,相关:剪切完图片比原图大了三倍 #170
  • utils/tools 改为 ESM,使其能 tree-shaking,30.15kb -> 28.93kb —— 其实这个文件没用了,只有 isFunc 在使用

@dlhandsome dlhandsome self-requested a review January 29, 2021 07:43
@dlhandsome dlhandsome merged commit dbbeed7 into we-plugin:master Jan 29, 2021
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

Successfully merging this pull request may close these issues.

2 participants