-
Notifications
You must be signed in to change notification settings - Fork 60
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
InvalidPathException when loaders used before closure plugin? #100
Comments
I'm experiencing the same problem with a different set of loaders. |
Yeah, but then it's super slow. I would prefer to use the Java compiler. |
I completely agree. |
Some loaders and transformations make this extremely difficult. The plugin attempts to unwind and get the original filesystem path - but that's not always possible. |
Actually - this should be fixed in the compiler proper. |
I've been building a project that uses the
closure-webpack-plugin
, although I am somewhat new to WebPack. I think there may be an issue on Windows when you use a loader (at least, eslint-loader) with this plugin for the'java'
platform. In particular, it seems like the path that gets passed into the Closure Library has exclamation marks concatenating the loaders, instead of just the desired code.Here's a minimal version of the relevant setup, I believe:
This triggers the following error:
I can avoid the error simply by removing the rule for Eslint, but that's not really ideal. Is there some configuration option that should be passed to the closure compiler plugin to tell it to read the name differently, or is this some kind of bug? I can't tell if it's Eslint's fault for changing the URL, Webpack's fault for changing the URL, or this plugin's fault for not knowing how to read the URL.
The text was updated successfully, but these errors were encountered: