Skip to content

Commit

Permalink
Webpack5: don't use query-like syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-skl committed Oct 12, 2020
1 parent 38f650f commit d8e91a8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ const svgInlineLoader = {

const svgLoader = {
test: /\.svg$/,
loader: `${require.resolve('url-loader')}?limit=10000`,
loader: require.resolve('url-loader'),
options: {
limit: 10000
},
include: componentsPath
};

Expand All @@ -29,8 +32,9 @@ const scssLoader = {
loader: require.resolve('postcss-loader')
},
{
loader: `${require.resolve('sass-loader')}?outputStyle=expanded`,
loader: require.resolve('sass-loader'),
options: {
outputStyle: 'expanded',
implementation: require('sass') // Dart implementation of SASS compiler
}
}
Expand Down

0 comments on commit d8e91a8

Please sign in to comment.