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
Especially when files contain javascript and css it might be necessary to process the file twice. One time for javascript and one time for css.
Is there any way to access the webpack resource query inside a babel plugin?
For example here:
import { foo } from "./demo?extractOnlyCss" import { bar } from "./demo"
Could a babel plugin process ./demo twice and know about ?extractOnlyCss?
./demo
?extractOnlyCss
The text was updated successfully, but these errors were encountered:
Eager to have this. Discuss if we should add the resourceQuery to filename or provide some new option to plugins. I'm open to contribute a pr.
Sorry, something went wrong.
No branches or pull requests
Especially when files contain javascript and css it might be necessary to process the file twice.
One time for javascript and one time for css.
Is there any way to access the webpack resource query inside a babel plugin?
For example here:
Could a babel plugin process
./demo
twice and know about?extractOnlyCss
?The text was updated successfully, but these errors were encountered: