Created
June 2, 2021 10:33
-
-
Save iugo/a7e2ac7655063284b173acbcb89f4bf9 to your computer and use it in GitHub Desktop.
deno bundle (1.10.3) bug
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
import { dbPool } from "./webserver.ts"; | |
export function d() { | |
dbPool; | |
} |
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
import { d } from "./data.ts"; | |
export default async function fn() { | |
d(); | |
} |
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
import { d } from "./data.ts"; | |
export default async function fn() { | |
d(); | |
} |
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
import page1 from "./page1.ts"; | |
import page2 from "./page2.ts"; | |
export default function router() { | |
page1(); | |
page2(); | |
} |
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
// run `deno bundle webserver.ts` | |
import router from "./router.ts"; | |
export const dbPool = 1; | |
router(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment