Skip to content

Commit

Permalink
webpack.common: add work around for resolving img urls in scss files
Browse files Browse the repository at this point in the history
  • Loading branch information
Phillippa authored and philli-m committed Aug 12, 2020
1 parent 1ee045b commit 453f61e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,10 @@ module.exports = {
loader: MiniCssExtractPlugin.loader
},
{
loader: 'css-loader'
loader: 'css-loader',
options: {
url: url => !url.startsWith('/')
}
},
{
loader: 'postcss-loader',
Expand Down

0 comments on commit 453f61e

Please sign in to comment.