Some packages, such as some of Google's Material Web Component (mwc-) packages, use relative paths that leave off the .js file extension. This middleware transforms bare module imports that leave off the full file name of the requested script, but that is not usable if imports within those scripts are not transformed.
Some packages, such as some of Google's Material Web Component (
mwc-
) packages, use relative paths that leave off the.js
file extension. This middleware transforms bare module imports that leave off the full file name of the requested script, but that is not usable if imports within those scripts are not transformed.