Skip to content

Commit

Permalink
Update src/index.js
Browse files Browse the repository at this point in the history
Co-authored-by: William Killerud <william@killerud.com>
  • Loading branch information
digitalsadhu and wkillerud authored Oct 15, 2024
1 parent c5e0775 commit ba1ad7d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,9 @@ export default class Eik {
/**
* Function that generates and returns an import map script tag for use in an document head.
*
* Currently only a single import map is supported in the browser so we need to merge together import map objects into a single object
* by using a JS Map object. Last in wins so order of import maps defined in eik.json is important if multiple maps share the same entries.
* Only a single import map is allowed per HTML document.
* A key (ex. `react`) can only be defined once.
* If multiple import maps defined in `eik.json` use the same key the last one wins.
*
* @example
* ```
Expand Down

0 comments on commit ba1ad7d

Please sign in to comment.