Closed DevSide closed 3 months ago
For a JS project, the module throws a "Cannot find package 'typescript'" when I try to use the register esm. import register from "@swc-node/register/esm"
import register from "@swc-node/register/esm"
It should be optional and dynamically imported if this library is intended to be swc generic.
For a JS project, the module throws a "Cannot find package 'typescript'" when I try to use the register esm.
import register from "@swc-node/register/esm"
It should be optional and dynamically imported if this library is intended to be swc generic.