browserify / browserify/detective
Support ES6 imports
Open
- Dominant language
- JavaScript
- Stars
- 414
- Forks
- 59
- PR merge metrics
- No merged PRs in 30d
Description
Tried this:
``` javascript
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?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.