Replies: 2 comments 2 replies
-
You transformed esm to cjs, which means import() becomes Promise.resolve().then(() => require()). If you really need to transform it to cjs, set module.ignoreDynamic to true, it will preserve dynamic import expression. |
Beta Was this translation helpful? Give feedback.
2 replies
-
You can use built in styleText instead of chalk. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
tsc+
"moduleResolution": "Node16"
work fine,but change to swc get error
Code
error
swc config
Beta Was this translation helpful? Give feedback.
All reactions