Error when compiling typescript in ES-only plugins that use 'unist-util-visit' #72
-
I'm trying to create a plugin that is ES-only, however I keep running into errors such as the following with
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Not surprising, this seems related to syntax-tree/hastscript#16
From what I'm seeing in the TS docs it looks like
https://www.typescriptlang.org/tsconfig#node16nodenext-nightly-builds |
Beta Was this translation helpful? Give feedback.
Not surprising, this seems related to syntax-tree/hastscript#16
The community has been holding off for a bit while TypeScript stabilizes node style ESM resolution, from the last discussion:
From what I'm seeing in the TS docs it looks like
node16
support is still considerednightly
(pre-beta and unstable)https://www.typescriptlang.org/tsconfig#node16nodenext-nightly-builds