How to create a es2015 build in lightning/solid js app?

I’m using JavaScript in my app

Not sure if the lng CLI still has the dist option, but you should be able to use

lng dist --e5

Hope that helps!

If you check out the demo app -

You need to use the legacy plugin with vite and set the browser targets. That will create the es5 build. I’ve tested back to Chrome49