I am working on a new project using Elixir and Phoenix which is using esbuild as bundler. I am trying to get the jet-start project working in a new started Phoenix app.
I have copied webix.js and webix.css into my static assets.
I have copied the jet-start source into a separate assets location that is processed by esbuild. I have add npm package to that same assets folder and installed webix-jet. The app.js was slightly changed to remove webpack variables and replaced with values.
I have the index.html setup using source from jet-start but changing the paths to the source files.
When I run the Phoneix app in the browser I observe that webix.js and webix.css are loaded, my app.js and app.css have been bundled and loaded but I have an error that "dynamic require of jet-views/top is not supported.
I tracked this down to something in webpack that refers to jet-views as an alias and found a reference to require jet-views in my app.js bundle.
I do not understand the purpose of jet-views. What is going on with this?
I am also returning to frontend work after like 8 or 9 years so not really used to these bundlers yet.