Open ebruchez opened 1 day ago
Right now, we include JavaScript files directly in our build, and not as modules.
Top-level files, properties describing a JS baseline, and XBL components express dependencies on JavaScript files directly.
webjars
could work, and still appears maintained, but it doesn't seems to be "the future". This would allow us to download JAR containing JavaScript files, and then, through some build magic, include the assets into our artifacts.
Baby step:
node_modules
See also #3897, which discusses
scalajs-bundler
.Based on this article, it seems that
scalajs-bundler
is no longer the way to go. However, it's not clear what the path forward is, as that article describes interop withvite.js
, which we are not using right now.At least the following modules are currently unmodified and could be included at build time: