-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
Tried this:
import detective from 'detective';
import fs from 'fs';
let src = fs.readFileSync(__filename);
let requires = detective(src, { parse: { ecmaVersion: 6, sourceType: 'module' } });
console.log(requires);Prints out [] instead of ['detective', 'fs']. Could we make detective support ES6 imports?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels