You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the current behavior?
When trying to use compose from CSS modules from a node_modules dependency, it breaks with an Can't resolve error.
The bug has been introduced by this commit in css-loader but is actually only reproducible with postcss-loader as well (at least that's how I uncovered it)
If the current behavior is a bug, please provide the steps to reproduce.
Here's a reproduction of the bug. The idea is the following:
The application uses webpack, extract-text-plugin, css-loader, postcss-loader with postcss-import.
The error happens when fyndiq-component-dropdown tries to import the colors from the same UI kit fyndiq-styles-colors
What is the expected behavior?
It shouldn't break, just like it used to work prior to v0.28.11
Please mention other relevant information such as your webpack version, Node.js version and Operating System.
Webpack 3 (also breaks with Webpack 4)
Node 8.9.1
NPM 5.7.1 (also breaks with NPM 5.8.0)
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
A bug
The bug was introduced by this PR.
What is the current behavior?
When trying to use
compose
from CSS modules from anode_modules
dependency, it breaks with anCan't resolve
error.The bug has been introduced by this commit in
css-loader
but is actually only reproducible withpostcss-loader
as well (at least that's how I uncovered it)If the current behavior is a bug, please provide the steps to reproduce.
Here's a reproduction of the bug. The idea is the following:
composes
with a class from a UI-kit (in my case, fyndiq-component-dropdown).fyndiq-component-dropdown
tries to import the colors from the same UI kitfyndiq-styles-colors
What is the expected behavior?
It shouldn't break, just like it used to work prior to
v0.28.11
Please mention other relevant information such as your webpack version, Node.js version and Operating System.
Webpack 3 (also breaks with Webpack 4)
Node 8.9.1
NPM 5.7.1 (also breaks with NPM 5.8.0)
The text was updated successfully, but these errors were encountered: