kytta / vue-tinybox

🌌 A slick, yet tiny lightbox gallery for Vue.js
http://os.kytta.dev/vue-tinybox/
MIT License
94 stars 7 forks source link

Migrate to Vite #36

Closed kytta closed 1 year ago

kytta commented 1 year ago

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

github-actions[bot] commented 1 year ago

size-limit report 📦

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