mirror of
https://github.com/denoland/deno.git
synced 2025-02-19 03:43:00 -05:00

This makes bare specifiers for npm packages work when inside a workspace, which emulates the same behaviour as when there's a node_modules directory. The bare specifier can be overwritten by specifying an import map entry or package.json dependency entry. * https://github.com/denoland/deno_config/pull/88 Closes #24605
6 lines
161 B
TypeScript
6 lines
161 B
TypeScript
// should resolve these as bare specifiers within the workspace
|
|
import * as a from "@denotest/a";
|
|
import * as c from "@denotest/c";
|
|
|
|
a.sayHello();
|
|
c.sayHello();
|