Skip to content

fargito/swc-node-relative-import-issue-repro

Repository files navigation

swc-node relative import reproduction

This is a basic reproduction for the swc relative import issue in swc-project/swc-node#804

Setup

nvm use # 20.15.0
pnpm i
pnpm test-type # everything is properly typed
pnpm test # should fail

Reverting to a working state

In package.json, change the version of @swc-node/register to 1.10.0:

-    "@swc-node/register": "^1.10.2",
+    "@swc-node/register": "^1.10.0",

Running pnpm test should not fail.

About

A basic reproduction for the swc-node relative import issue in https://github.com/swc-project/swc-node/issues/804

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published