junobuild / juno-js

JavaScript libraries for interfacing with Juno
MIT License
14 stars 1 forks source link

build: replace esbuild with vite #6

Closed peterpeterparker closed 1 year ago

peterpeterparker commented 1 year ago

Resolve #5

peterpeterparker commented 1 year ago

Libs when bundled with Vite become 100kb (> 30%) bigger which is a no go. Started a discussion about it https://github.com/vitejs/vite/discussions/12327

Fortunately I found another way to solve the issue #5 while keeping #7

Still have a web worker to implement which is easier with Vite but, I'll manage to inline it manually.