Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thibautre/css-loader-bug
https://github.com/thibautre/css-loader-bug
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/thibautre/css-loader-bug
- Owner: thibautRe
- Created: 2018-04-06T10:04:26.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-06T10:09:15.000Z (almost 7 years ago)
- Last Synced: 2024-11-06T09:12:49.712Z (2 months ago)
- Language: JavaScript
- Homepage: https://github.com/webpack-contrib/css-loader/issues/703
- Size: 43.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## `css-loader` bug
Steps to reproduce the bug:
```
npm i
npm run build
```An error is thrown:
```
ERROR in ./node_modules/css-loader?{"importLoaders":1,"sourceMap":true,"modules":true,"minimize":true}!./node_modules/postcss-loader/lib?{}!./node_modules/fyndiq-component-dropdown/styles.css
Module not found: Error: Can't resolve './fyndiq-styles-colors/colors.css' in '/Users/thibaut.remy/git/test/css-loader-bug/node_modules/fyndiq-component-dropdown'
@ ./node_modules/css-loader?{"importLoaders":1,"sourceMap":true,"modules":true,"minimize":true}!./node_modules/postcss-loader/lib?{}!./node_modules/fyndiq-component-dropdown/styles.css 3:10-189
@ ./node_modules/css-loader??ref--0-1!./node_modules/postcss-loader/lib??ref--0-2!./styles.css
```The commit introducing the bug is [this one](https://github.com/webpack-contrib/css-loader/pull/698/commits/585b58b4af9b56ca9e771c4bb6ebdf1845bfcd8a). You can install the version of css-loader before this commit and it works fine
```
npm i [email protected]
npm run build
```This command runs just fine