We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
plugin:
... Class(path, state) { console.log(state.file.opts.filename); // logs `unknown` } ...
Babel transform has options - filename and filenameRelative that could be passed in - http://babeljs.io/docs/usage/api/#options
filename
filenameRelative
The text was updated successfully, but these errors were encountered:
Pass filename to babel so plugins have access to it.
3832f85
Fixes #15.
fix: pass filename to babel so plugins have access to it. (#16)
3109acd
Fixed in v1.1.3.
Sorry, something went wrong.
No branches or pull requests
plugin:
Babel transform has options -
filename
andfilenameRelative
that could be passed in - http://babeljs.io/docs/usage/api/#optionsThe text was updated successfully, but these errors were encountered: