Adjective-Object / good-fences-rs-core

9 stars 0 forks source link

Support for import() and require() expressions #4

Closed Adjective-Object closed 1 year ago

Adjective-Object commented 2 years ago

The swc-based parser doesn't capture import() or require() expressions, only import statements.

This should be updated to capture import and require expressions. This will require walking the ast, not just scanning the root scope.