From 6f6dc9d26bc7c541f307358caec4ebb472efe40a Mon Sep 17 00:00:00 2001 From: Joel Denning Date: Mon, 16 Dec 2024 13:18:58 -0700 Subject: [PATCH] Fix npm installation instructions (#22) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bc63cc5..cb6acbb 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ As noted above, it's often easier to install import-map-injector via script rath With those caviats in mind, import-map-injector is also available on npm: ```sh -npm install import-map-injector +npm install @single-spa/import-map-injector ``` #### When bundling @@ -45,7 +45,7 @@ The following information only applies if you're trying to bundle import-map-inj Then it should just be included in your browser bundle with the following import. ```js -import "import-map-injector"; +import "@single-spa/import-map-injector"; ``` It's better for performance to put the import statement at the top of your bundler's main entry file, since import map installation is crucial to page load times.