0.30.0 #416
rmorshea
announced in
Announcements
0.30.0
#416
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
With recent changes to the custom component interface, it's now possible to remove all runtime reliance on NPM. Doing so has many virtuous knock-on effects:
loadImportSource()
function that looks for route serving the contents ofIDOM_WEB_MODULES_DIR.
This change includes large breaking changes:
idom.client
is being removed in favor of a stripped downidom.web
moduleIDOM_CLIENT_BUILD_DIR
config option will no longer exist and a newIDOM_WEB_MODULES_DIR
which only contains dynamically linked web modules. While this new directory's location is configurable, it is meant to be transient and should not be re-used across sessions.The new
idom.web
module takes a simpler approach to constructing import sources and expands upon the logic for resolving imports by allowing exports from URLs to be discovered too. Now, that IDOM isn't using NPM to dynamically install component librariesidom.web
instead creates JS modules from template files and links them intoIDOM_WEB_MODULES_DIR
. These templates ultimately direct the browser to load the desired library from a CDN.Pull Requests
This discussion was created from the release 0.30.0.
Beta Was this translation helpful? Give feedback.
All reactions