You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In version 3.0.1 this PR #38 disabled babelrc file configs which doesn't compile my code correctly.
Aside from the compact option, I also added the filename option to assist in debugging Babel messages like the one I encountered (without the filename, it falls back to "unknown"). Adding filename means we also have to set babelrc: false to prevent it from trying to look up an external config file (which can interfere with inject-loader).
Does this option need to be false or is there another way to include my babel config? Using the env option in babelrc we can set up a different environment for testing that doesn't interfere with "filename".
The text was updated successfully, but these errors were encountered:
I too now have a use case for wanting inject-loader to use a particular babel config and I'm not sure if there's a better way to specific a config than reverting the babelrc: false. I was thinking about adding options to inject-loader, but I think the only way to pass them in would be to append them to your inject-loader!... requests which is tedious.
In version 3.0.1 this PR #38 disabled babelrc file configs which doesn't compile my code correctly.
Does this option need to be false or is there another way to include my babel config? Using the env option in babelrc we can set up a different environment for testing that doesn't interfere with "filename".
The text was updated successfully, but these errors were encountered: