import-map-overrides
import-map-overrides copied to clipboard
A browser and NodeJS javascript library for overriding import maps
Following issue #66 I added a condition to check if a shadow root is already attached to the element and prevent the exception (https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow#exceptions). I tested it with our apps...
In the new version 3 I'm getting the following console error ```console Uncaught DOMException: Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already...
### What - when using [server-side-single-map](https://github.com/joeldenning/import-map-overrides/blob/main/docs/configuration.md#server-side-single-map), using the overrides UI on multiple routes can cause overrides persist in cookies even after they have been deleted in the UI. ```js //...

Expected behavior: inferred filename is `main.js` Actual behavior: inferred file name is `platform-ui-analytics.js` Note: URL pattern from original (non-overriden URL) is `//mydomain.com/@platform-ui/analytics/{x.y.z}-canary-{hash}/main.js`
I have tried to override app url but it does reflect change until you refresh the page. can we update it without refreshing a page? Step: 1 : update the...
This would likely reduce the library size pretty drastically, and is also the norm now for react projects. At the time I authored this, react had released hooks but preact...
Hi! I`m working on a project with angular and I faced a problem when trying to import angular dependencies. My project is using angular v13 and when I set angular...
This PR adds ability to toggle ability to override spas via query string and disables this behavior by default. Closes https://github.com/single-spa/import-map-overrides/issues/103