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

Migrate to Vite #36

Merged
merged 7 commits into from
Feb 2, 2023
Merged

Migrate to Vite #36

merged 7 commits into from
Feb 2, 2023

Conversation

kytta
Copy link
Owner

@kytta kytta commented Feb 2, 2023

This PR is the first BREAKING CHANGE on the way to v2. It is breaking because the builds are not processed by Babel any more, which will probably render the package unusable under Internet Explorer.

Here are also some temporary changes which will be rolled back later. For example, Terser is still used for minification (esbuild planned) and for now the CSS is embedded into the JS file (instead of shipping it as a separate file).

Closes #33

@kytta kytta self-assigned this Feb 2, 2023
@kytta kytta added enhancement New feature or request dev Related to development process labels Feb 2, 2023
@kytta kytta added this to the v2 milestone Feb 2, 2023
@kytta kytta mentioned this pull request Feb 2, 2023
@github-actions
Copy link

github-actions bot commented Feb 2, 2023

size-limit report 📦

Path Size
dist/tinybox.umd.js 2.61 KB (-13.43% 🔽)
dist/tinybox.esm.js 2.5 KB (-13.71% 🔽)

@kytta kytta merged commit e9b87a8 into main Feb 2, 2023
@kytta kytta deleted the vite branch February 2, 2023 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev Related to development process enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate to Vite for building
1 participant