Support for Babel 7
See original GitHub issueHello,
The plugin doesnt currently seem to support babel 7, since it should be going stable soon maybe this plugin should implement support for it?
Currently I’m getting errors such as this one in the console when trying to build with babel 7:
Module build failed: TypeError: Cannot read property 'name' of undefined
at DestructuringTransformer.pushObjectProperty (C:\...\node_modules\babel-plugin-extensible-destructuring\lib\index.js:198:96)
at DestructuringTransformer.pushObjectPattern (C:\...\node_modules\babel-plugin-extensible-destructuring\lib\index.js:240:18)
at DestructuringTransformer.push (C:\...\node_modules\babel-plugin-extensible-destructuring\lib\index.js:145:16)
...
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Upgrade to Babel 7
Babel has had issues previously with handling node_modules , symlinks, and monorepos. We've made some changes to account for this: Babel will stop...
Read more >TypeScript and Babel 7 - Microsoft Developer Blogs
Today we're excited to announce something special for Babel users. ... to jointly announce that Babel 7 now ships with TypeScript support!
Read more >Babel 6 and Babel 7 support - Stack Overflow
In Babel 6, .babelrc configuration applies specifically to files inside subdirectories of the one containing the .babelrc .
Read more >Babel 7: Configuration, Preset, and Plugin Usage
Often the developer wants to use the latest in JavaScript, but is frustrated by the lack of support in browsers or the Node.js...
Read more >So What's New in Babel 7? - Bits and Pieces
Babel is a transpiler for JavaScript that is popular among developers for its ability to turn ES6 or ES7 into code that can...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ve created a PR at #23 that shims the changes in Babel 7. The error above, IIRC, might be related to a change in the Babel plugin
@babel/plugin-transform-react-display-name
.@palnes Are you going to submit a patch please? Otherwise, I would have to revert it to the previous version 😦
Appreciate your help!