We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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?
[]
['detective', 'fs']
The text was updated successfully, but these errors were encountered:
+1 for this!
Sorry, something went wrong.
That may be outside of the scope of this module. Try https://www.npmjs.com/package/detective-es6.
just made something similar https://github.com/egoist/konan
No branches or pull requests
Tried this:
Prints out
[]
instead of['detective', 'fs']
. Could we make detective support ES6 imports?The text was updated successfully, but these errors were encountered: