1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 23:59:59 -05:00
denoland-deno/tests/specs/run/workspaces/basic/foo/mod.ts
Bartek Iwańczuk 35220f0069
fix(workspace): provide workspace members as 'imports' in import map (#23492)
This commit changes the workspace support to provide all workspace
members to be available as imports based on their names and versions.

Closes https://github.com/denoland/deno/issues/23343
2024-04-23 17:21:06 +02:00

5 lines
117 B
TypeScript

import { hello } from "foo/hello.ts";
import { buzz } from "~/fizz/buzz.ts";
console.log(hello);
console.log(buzz);