Skip to content

Commit

Permalink
fix for latest jspm
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Apr 14, 2024
1 parent e8e2283 commit 02d901d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jspm.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ ${isImportMapTarget ? `
const htmlSource = await readFile(process.env.DEP, 'utf-8');
mkdirp.sync(dirname(process.env.TARGET));
await writeFile(process.env.TARGET, await generator.htmlGenerate(htmlSource, {
await writeFile(process.env.TARGET, await generator.htmlInject(htmlSource, {
trace: true,
htmlUrl: pathToFileURL(process.env.TARGET)${noHtmlOpts ? '' : ', ' + objStringify({ preload, integrity, whitespace, esModuleShims })}
}));`}
`
Expand Down

0 comments on commit 02d901d

Please sign in to comment.