Skip to content

Commit

Permalink
fixup html baseurl
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Jan 26, 2023
1 parent 64efe0d commit 3a2e48b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default async function inject(
const generator = new Generator({
env,
inputMap,
baseUrl: cwdUrl,
baseUrl: new URL('.', new URL(htmlFile, `${pathToFileURL(process.cwd())}/`)),
mapUrl: getInputMapUrl(flags),
resolutions: getResolutions(flags),
})
Expand Down

0 comments on commit 3a2e48b

Please sign in to comment.