single-spa/import-map-overrides
소개
A browser and NodeJS javascript library for overriding import maps
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalimport-map-overrides
A browser and nodejs javascript library for being able to override import maps. This works with native browser import maps, SystemJS import maps, es-module-shims import maps, and more.
Motivation

Import maps are a way of controlling which url to download javascript modules from. The import-map-overrides library allows you to dynamically change the url for javascript modules by storing overrides in local storage. This allows developers to override individual modules to point to their localhost during development of a module, without having to boot up a local environment with all the other modules and a backend server.
You should not use import-map-overrides as the only import map on your page, since you cannot count on everyone's local storage having valid values for all of your modules. Instead, import-map-overrides should be viewed as a developer experience enhancement and dev tool -- developers can develop and debug on deployed environments instead of having to boot up a local environment.
Here are some tutorial videos that explain this in more depth:
Documentation
The UI for import-map-overrides works in evergreen browsers (web components support required). The javascript API works in IE11+.
Browser
NodeJS
Contributing
Make sure you commit a changeset with pnpm changeset before you open a PR.
This will allow to automatically bump the version and maintain the CHANGELOG
once released.
관련 프로젝트 살펴보기
불러오는 중…