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
I was trying to use decorator-transforms in the browser
We'd also like to use decorator-transforms in a non-node environment (In our case that's mini_racer).
It looks like this node:module thing was added in 3152992 to 'fix cjs loading'. I can't claim to understand the intricacies of esm/cjs intercompatibity... but through trial & error I was able to get things working in both node and our miniracer environment via #27
Was just browsing the code and saw:
decorator-transforms/src/index.ts
Line 7 in e1fa550
In particular, I was trying to use
decorator-transforms
in the browser, with@babel/standalone
, but use ofnode:module
does not permit this.The text was updated successfully, but these errors were encountered: