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 am using CLI: yo@4.3.1 with yeoman-generator@5.8.0.
Generator is written in TS. When I try to change module system from commonjs to ES2020. It throws following error:
Cannot use import statement outside a module
The text was updated successfully, but these errors were encountered:
I am using CLI:
yo@4.3.1
withyeoman-generator@5.8.0
.Generator is written in TS. When I try to change module system from
commonjs
toES2020
. It throws following error:The text was updated successfully, but these errors were encountered: