Skip to content

Commit

Permalink
Fix "found orphan CR, try removeCR option"
Browse files Browse the repository at this point in the history
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
  • Loading branch information
diegocardoso93 committed Jul 8, 2019
1 parent 988e5d1 commit 906ae9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/loaders/sass.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ module.exports = {
sassLoaders.push({
loader: 'resolve-url-loader',
options: {
sourceMap: webpackConfig.useSourceMaps
sourceMap: webpackConfig.useSourceMaps,
removeCR: true
}
});
}
Expand Down

0 comments on commit 906ae9b

Please sign in to comment.