diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-08-20 11:31:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-20 11:31:33 -0400 |
commit | 87f80ff6be5e2a132b583a9c380fff5db3cb2b07 (patch) | |
tree | b2c43c9004b9ada204f3b5db7c221fa6322f026a /cli/tests/testdata/npm/esm/main.js | |
parent | 1ffbd561642d05a05e18ada764d50581dea779ef (diff) |
feat(unstable): initial support for npm specifiers (#15484)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/tests/testdata/npm/esm/main.js')
-rw-r--r-- | cli/tests/testdata/npm/esm/main.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/testdata/npm/esm/main.js b/cli/tests/testdata/npm/esm/main.js new file mode 100644 index 000000000..3dfa8122a --- /dev/null +++ b/cli/tests/testdata/npm/esm/main.js @@ -0,0 +1,7 @@ +import chalk from "npm:chalk@5"; + +console.log(chalk.green("chalk esm loads")); + +export function test(value) { + return chalk.red(value); +} |