Skip to content

Commit

Permalink
Remove comment about now-released @babel/parser@7.5.0.
Browse files Browse the repository at this point in the history
After updating @babel/parser to version 7.5.0, I can verify that the
monkey-patching changes in PR #230 are no longer necessary, though it
doesn't hurt to leave them in place, since the interception logic is
restricted to versions in the 7.4.x range.

The allowUndeclaredExports option is now required, as anticipated:
babel/babel#9864
  • Loading branch information
benjamn committed Jul 4, 2019
1 parent ba4ea3f commit 13ef5ca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/parsers/babel.js
Expand Up @@ -6,7 +6,6 @@ const babelParserVersion = require("@babel/parser/package.json").version;
exports.options = {
allowImportExportEverywhere: true,
allowReturnOutsideFunction: true,
// This won't work until @babel/parser@7.5.0 is released.
allowUndeclaredExports: true,
plugins: [
"*", "flow", "jsx",
Expand Down

0 comments on commit 13ef5ca

Please sign in to comment.