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

Enable tree shaking in Vue package #859

Merged
merged 1 commit into from
Oct 29, 2021
Merged

Enable tree shaking in Vue package #859

merged 1 commit into from
Oct 29, 2021

Conversation

santi
Copy link
Contributor

@santi santi commented Oct 10, 2021

Inspired by #602, which introduced the same changes in the React package.

Currently tree shaking with webpack is not possible, as webpack cannot determine that the modules are sife-effect free and the modules are not preserved in the output build from rollup.

This PR makes the necessary changes in order to let webpack benefit from tree shaking when building other apps.

@vercel
Copy link

vercel bot commented Oct 10, 2021

@santi is attempting to deploy a commit to the Tailwind Labs Team on Vercel.

A member of the Team first needs to authorize it.

@RobinMalfait
Copy link
Member

Hey! Thank you for your PR!
Much appreciated! 🙏

@RobinMalfait RobinMalfait merged commit c57eb60 into tailwindlabs:develop Oct 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