Closed jscinoz closed 6 years ago
Wow, thank you @jscinoz!
That was quick! Any chances we can get an npm release with a beta
tag?
@tomchentw It will most likely happen over the weekend soonish.
@jdalton Any chance you can cut a release for this? Tested locally it resolved the issue.
v3.3.0 has been published :tada:
which broke like this
Error: Cannot find module 'babel-helper-module-imports'
Fixes #193
Fixes compatibility with Babel 7, by using babel-helper-module-import's addDefault (instead of file.addImport, which is deprecated in Babel 7), and traversing the AST ourselves to find module imports, as Babel no longer does this for us.
Tests pass, and compatibility appears to be maintained with Babel 6.26.0, but I have not tested this extensively.