Closed nevir closed 8 years ago
Any update?
Any word on the status here?
I implemented this in a slightly different way but accomplished the same goals. You can now have the plugin read config from any file you like.
https://github.com/FormidableLabs/babel-plugin-transform-define/pull/19
Also, thanks so much for this PR and for pushing this forward! It's great to have contributors. I added a bunch of tests already and I plan to keep the improvements rolling.
This allows for dynamic defines (based on a configuration environment, etc). Note that you are welcome to use Babel features within the module.