Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use import maps in config evaluation (#166)
* fix: use import maps in config evaluation * chore: add missing import to test * chore: update test
- Loading branch information
1 parent
dbf5b3a
commit 8e5ab76
Showing
8 changed files
with
45 additions
and
6 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
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
8 changes: 7 additions & 1 deletion
8
test/fixtures/with_config/.netlify/edge-functions/framework-func1.ts
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
8 changes: 7 additions & 1 deletion
8
test/fixtures/with_config/.netlify/edge-functions/framework-func2.ts
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 +1,7 @@ | ||
export default async () => new Response('Hello from framework function 2') | ||
import { greet } from 'alias:helper' | ||
|
||
export default async () => { | ||
const greeting = greet('framework function 2') | ||
|
||
return new Response(greeting) | ||
} |
8 changes: 7 additions & 1 deletion
8
test/fixtures/with_config/netlify/edge-functions/user-func1.ts
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
8 changes: 7 additions & 1 deletion
8
test/fixtures/with_config/netlify/edge-functions/user-func2.ts
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 +1,7 @@ | ||
export default async () => new Response('Hello from user function 2') | ||
import { greet } from 'alias:helper' | ||
|
||
export default async () => { | ||
const greeting = greet('user function 2') | ||
|
||
return new Response(greeting) | ||
} |