Skip to content

Commit 906ae9b

Browse files
Fix "found orphan CR, try removeCR option"
Error: resolve-url-loader: CSS error source-map information is not available at url() declaration (found orphan CR, try removeCR option) see: bholloway/resolve-url-loader#107
1 parent 988e5d1 commit 906ae9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/loaders/sass.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ module.exports = {
3131
sassLoaders.push({
3232
loader: 'resolve-url-loader',
3333
options: {
34-
sourceMap: webpackConfig.useSourceMaps
34+
sourceMap: webpackConfig.useSourceMaps,
35+
removeCR: true
3536
}
3637
});
3738
}

0 commit comments

Comments
 (0)