babel-plugin-webpack-alias
babel-plugin-webpack-alias copied to clipboard
Support for Babel 7
Babel 7 is currently in Alpha 9, and this plugin just silently fails.
Seems the CallExpression is never called.
Is support in the pipeline/planned?
CallExpression is working correctly in Babel 7 (see)
meanwhile…
Babel reach beta nowadays we're using it in a production
So does babel 7 support work for this?
This plugin does not work with babel 7 - I get lots of warnings in the console that various module paths cannot be resolved - all of which have been imported using an alias. Are there any plans to make the compatible with babel 7?
The source code seem not complicated. I think we can rewrite it for babel 7!
https://github.com/trayio/babel-plugin-webpack-alias/pull/57
Upgrade to Babel 7
I saw CrabDudes PR was failing tests and not getting any love so I took a stab at converting things to Babel 7 as well #59
Are there plans to add support for Babel 7 or is there an existing preferred option I should switch to?
I created https://github.com/shortminds/babel-plugin-webpack-alias-7 about a month ago, hope to get more people to kick the tires on it.
@nathanfriemel Thanks! Tests are green again.