mirror of
https://github.com/denoland/deno.git
synced 2024-12-12 02:27:46 -05:00
934ed8e7d1
Fixes regex for matching conditional exports in a package. Updated to the same regex Node.js uses.
13 lines
492 B
JavaScript
13 lines
492 B
JavaScript
import mod from "npm:@denotest/conditional-exports";
|
|
import foo from "npm:@denotest/conditional-exports/foo.js";
|
|
import client from "npm:@denotest/conditional-exports/client";
|
|
import clientFoo from "npm:@denotest/conditional-exports/client/foo";
|
|
import clientBar from "npm:@denotest/conditional-exports/client/bar";
|
|
import supportsESM from "npm:supports-esm";
|
|
|
|
console.log(mod);
|
|
console.log(foo);
|
|
console.log(client);
|
|
console.log(clientFoo);
|
|
console.log(clientBar);
|
|
console.log(supportsESM);
|