You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest version of ink is published as an ES module, and when this package is built with tsc, it converts all of the import statements into requires, which is entirely reasonable. However, when it tries to require('ink'), it spins out, since ink is published directly as an es module without being built now.
I'm not entirely sure how this can be resolved, but poking into it - just wanted to raise the issue at least 👀
The text was updated successfully, but these errors were encountered:
Update: I am working on a fix for this, intend to put it in this week. The whole package kind of needs to be rewritten to make it work, but that's fine, it's a fairly small package and shouldn't take long 😁
I know this is a real mess but bear with me:
The latest version of
ink
is published as an ES module, and when this package is built withtsc
, it converts all of theimport
statements intorequire
s, which is entirely reasonable. However, when it tries torequire('ink')
, it spins out, since ink is published directly as an es module without being built now.I'm not entirely sure how this can be resolved, but poking into it - just wanted to raise the issue at least 👀
The text was updated successfully, but these errors were encountered: