-
-
Notifications
You must be signed in to change notification settings - Fork 608
Webpack alias false on directories / expressions #1317
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
Comments
Expected, |
:( ok, is it good as a feature request or sould i close it? |
Give me minute I will look at this |
Oh I see, here the same problem (#1246, description is different, but internally problem only here), we need major release for this (we are already working on it), right now I recommend to use https://github.com/webpack-contrib/css-loader#function But here note -
but it will work only after we fix #1246 So let's close in favor #1246 I think we will do major release in near future (maybe the next week or next week after the next week 😄 ) |
That's exactly what I want to do. I have a (symlinked) static folder under the docroot that I don't want to be processed (and duplicated in the build folder by webpack) tanks for the help. |
Related to #1291
Aliasing individual files to false to prevent resolving works fine for individual files. But unfortunately not for directories / expressions
Expected Behavior
According to the webpack doc I could alias directories or regular expressions to someting.
https://webpack.js.org/configuration/resolve/#resolvealias
Aliasing these to false doesn't work with css-loader
Actual Behavior
Code
The text was updated successfully, but these errors were encountered: