Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use
netlify:import-map
specifier (#246)
* feat: use `netlify:import-map` specifier * refactor: conditionally set import map URL
- Loading branch information
1 parent
e521d7e
commit 9f2a947
Showing
17 changed files
with
106 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { writeStage2 } from './lib/stage2.ts' | ||
|
||
const [payload] = Deno.args | ||
const { basePath, destPath, externals, functions, importMapURL } = JSON.parse(payload) | ||
const { basePath, destPath, externals, functions, importMapData } = JSON.parse(payload) | ||
|
||
await writeStage2({ basePath, destPath, externals, functions, importMapURL }) | ||
await writeStage2({ basePath, destPath, externals, functions, importMapData }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,4 @@ export interface Bundle { | |
extension: string | ||
format: BundleFormat | ||
hash: string | ||
importMapURL?: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.