steveszc / ember-cli-memory-leak-detector

Automatic memory leak detection for ember apps
https://www.npmjs.com/package/ember-cli-memory-leak-detector
MIT License
38 stars 5 forks source link

Improve logic for inventorying class names #20

Closed steveszc closed 3 years ago

steveszc commented 3 years ago

Currently the logic that inventories class names from the parent project is limited to looking for export default class [className]. This logic should be improved to detect any instance of a class name in a js file, even when export default is not being used. Maybe we should be using an AST for this??