Which packages would you like to change?
What problem do you want to solve?
Top-level using declarations are not allowed for sourceType: script, but I would like them to be allowed for sourceType: commonjs.
What do you think is the correct solution?
Add the option to acorn and use it if sourceType: commonjs.
acornjs/acorn#1376
Participation
Additional comments
No response