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/treeshake sourcecode with Rollup #95

Open
natemoo-re opened this issue Jan 20, 2021 · 5 comments
Open

Bundle/treeshake sourcecode with Rollup #95

natemoo-re opened this issue Jan 20, 2021 · 5 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@natemoo-re
Copy link
Owner

As a follow-up to #81, I'd like to swap tsc out for a custom rollup build. Inlining dependencies should reduce the install footprint significantly and make everything a lot faster.

If possible, the dependencies should only include snowpack, preact, and the necessary @snowpack/plugin- packages. Everything else should be moved to devDependencies.

@natemoo-re natemoo-re added the enhancement New feature or request label Jan 20, 2021
@natemoo-re natemoo-re self-assigned this Jan 20, 2021
@natemoo-re natemoo-re added this to the v1.2.0 milestone Jan 20, 2021
@natemoo-re natemoo-re changed the title Bundle/treeshake with Rollup Bundle/treeshake sourcecode with Rollup Jan 21, 2021
@Siilwyn
Copy link

Siilwyn commented Jan 27, 2021

Not sure if I should comment here or on #81. Either way this sounds like a good plan! What I don't understand is the size doesn't seem to be decreased in version 1.1.0-next.3...

@natemoo-re
Copy link
Owner Author

@Siilwyn Thanks for flagging that, I need to cut another release. If I don't get to it today it'll be tomorrow.

@Siilwyn
Copy link

Siilwyn commented Jan 27, 2021

Ah no problem at all!

@natemoo-re
Copy link
Owner Author

@Siilwyn 1.1.0-next.4 install size is reduced to 87.0MB. Would love to get that down even smaller, but it's a start.

@Siilwyn
Copy link

Siilwyn commented Jan 29, 2021

Awesome! 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants