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 @monokle/validation library is now imported dynamically due to some errors with building and static import which I wasn't able to solve in reasonable amount of time:
But this makes it a bit harder to work with and e.g. cumbersome to import types.
One of the errors was:
Error [ERR_REQUIRE_ESM]: require() of ES Module monokle-vsc/node_modules/@monokle/validation/lib/node.js from monokle-vsc/out/extension.js not supported.
Instead change the require of node.js in monokle-vsc/out/extension.js to a dynamic import() which is available in all CommonJS modules.
The text was updated successfully, but these errors were encountered:
Just a small update since I encountered this issue with other ESM-only modules. There is an open issue regarding this so not sure if this is (easily) doable - microsoft/vscode#130367.
The
@monokle/validation
library is now imported dynamically due to some errors with building and static import which I wasn't able to solve in reasonable amount of time:vscode-monokle/src/utils/validation.ts
Lines 168 to 171 in d916d17
But this makes it a bit harder to work with and e.g. cumbersome to import types.
One of the errors was:
The text was updated successfully, but these errors were encountered: