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
Looks like the dir option does some node.js cjs imports under the hood since I get SyntaxError: Cannot use import statement outside a module error. Neither there is a way to force the files to be a part of typescript bundle using the API. Is there a way to feed an array of modules/objects so it could work in transpiled/bundled setups?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Looks like the
dir
option does some node.js cjs imports under the hood since I getSyntaxError: Cannot use import statement outside a module
error. Neither there is a way to force the files to be a part of typescript bundle using the API. Is there a way to feed an array of modules/objects so it could work in transpiled/bundled setups?Beta Was this translation helpful? Give feedback.
All reactions