-
-
Notifications
You must be signed in to change notification settings - Fork 601
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
fix: remove restrictions: [/\.css$/i] from resolver configuration #1165
Conversation
Fixes webpack-contrib#1164. Signed-off-by: Anders Kaseorg <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #1165 +/- ##
=======================================
Coverage 99.36% 99.36%
=======================================
Files 10 10
Lines 627 627
Branches 197 197
=======================================
Hits 623 623
Misses 4 4
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is break other resolutions, no you can import even JS
file
I'm using PostCSS, but cannot currently use I can understand not allowing |
Why you need |
Here's a snippet of my webpack configuration for CSS:
And here's my
Is there something I need to do to make PostCSS handle imports before Edit: @import "test2.pcss";
h1 {
color: red;
}
h2 {
color: blue;
} And webpack gave me |
Here interesting problem, why it is hard to fix - some packages contain We are standing on a very shaky board - break compatibility with packages or allow to use non standard extensions in imports |
This change will not cause anyone to get a |
|
Ideally |
Some packages can contains |
But maybe we should start to say developers do not use |
Fixed #1272, hope we don't break something |
This PR contains a:
Motivation / Use-Case
Fixes #1164.