-
-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with babel config #664
Comments
Interesting, we're definitely passing the filename in at transform - I wonder if it's needed for the get options beforehand? |
Maybe we need to set |
Running into this also now. Is babel/ts transpilation really necessary? This definitely feels like something that shouldn't exist. |
I narrowed this down to having a pattern in something like an module.exports = {
plugins: [...],
presets: [...],
ignore: ['**/public/*.js']
}; For me I realised I didn't need this particular ignore. |
Maybe danger can override the ignore with something empty in the config? |
this is my babel.config.js
it throws the following error
Error: Configuration contains string/RegExp pattern, but no filename was passed to Babel
because of overrides syntax that needs to accept a filename
I've solved this passing
filename
to babel transform:The text was updated successfully, but these errors were encountered: