-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
package is too much to wechat weapp #1331
Comments
This is how wechat release is built: https://github.com/parse-community/Parse-SDK-JS/blob/master/gulpfile.js#L99 Maybe we could try to remove some dependencies that may not be necessary for wechat. Also, I've never built wechat miniprogram, and I am not sure if that's possible, but maybe you can try to load the sdk from the cdn instead of embedding it in the program. |
Does SDK version 3.1.0 work with WeChat? If so we can close #1127 if you want you can fork the project and strip it down to use only what you need. The REST Api is also an option |
it's a good idea, but i dont know which file can remove, better way is keep the base functionnality for miniprogram. |
Here is the PR #874 if you want to see base |
@dplewis works well, thanks so much. |
Glad you got it to work. |
New Issue Checklist
Issue Description
As we knows, wechat miniprogram package size is 2mb limit, parse package size is about 400-500kb, so have any idea to make package less size?
Steps to reproduce
Actual Outcome
Expected Outcome
Environment
Server
4.5.0
Ubuntu 18.04.5
Local server
Database
MongoDB
4.2
Local
Client
3.1.0
Logs
The text was updated successfully, but these errors were encountered: