Skip to content

Commit

Permalink
Fixing bug where default import map type had errant dash.
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldenning committed Nov 5, 2019
1 parent 4ae7019 commit 4ca2921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/js-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const importMapMetaElement = document.querySelector(
);
export const importMapType = importMapMetaElement
? importMapMetaElement.getAttribute("content")
: "import-map";
: "importmap";

if (Object.keys(overrideMap.imports).length > 0) {
const overrideMapElement = document.createElement("script");
Expand Down

0 comments on commit 4ca2921

Please sign in to comment.