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

[Bundle Optimization] move yarn to devDependencies #1005

Closed
geekeren opened this issue Apr 27, 2021 · 2 comments
Closed

[Bundle Optimization] move yarn to devDependencies #1005

geekeren opened this issue Apr 27, 2021 · 2 comments

Comments

@geekeren
Copy link

I think the yarn is not necessary for the runtime, it's a building tool and no need to be bundled to dist.

geekeren pushed a commit to geekeren/Kap that referenced this issue Apr 27, 2021
@geekeren
Copy link
Author

It will decrease the .app package size by about 4MB.

@sindresorhus
Copy link
Member

Yarn is used to install plugins in the app at runtime.

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