-
Notifications
You must be signed in to change notification settings - Fork 8
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
Build JavaScript using Pacel #13
Conversation
c86ec72
to
c7c2153
Compare
This does not work yet because of prebuild/node-gyp-build#22 |
Use separate js and native prefixes for the scripts. Use prepare and prepublishOnly
To use in the future
I fixed the problem by setting the dist as the root folder. |
I wonder if using the parcel library is not needed, if we convert the coffee (only one main file) to js. |
Run all benchmarks in CI
The main benefit of using this is to use Parcel to tree-shake the dependencies. For example, we don't use all of the original Original size: 27.69 This is a typical performance improvement pattern we have found by testing many packages in our organization. |
All the tests pass. I will merge this! |
This speeds up the loading time by tree-shaking and prebuilding CoffeeScript