so regarding compilation speed: there are newer op...
# javascript
b
so regarding compilation speed: there are newer options available in the js space like esbuild; are there options yet to easily swap out webpack for that?
1
t
For production/dev builds only?
b
yes (is there anything else?)
t
Dev server Tests
b
oh, I see; can't use the dev server for my project sinde I'm not shipping html, just a js bundle; tests I suppose compile fast enough?
c
I'm working on https://gitlab.com/opensavvy/automation/kotlin-vite, but it requires an entrypoint
index.html
. Why are you shipping a pure JS bundle, what is it used for?
K 1
b
I'm working on a module for FoundryVTT which gobbles up all plugins/apps based on a js bundle
basically you define your index.js in a json file and it will load that
c
What's stopping you from creating an
index.html
with your entrypoint, use it to make bundlers work, and then just publish the resulting .js file?
t
Vite has fine support for JS entrypoints too - it's just configuration
c
Ah, indeed. @Bernhard if you're interested, I should be able to add this to the plugin without too many difficulties. If you want to follow progress.
b
many thanks!
👍 2