Skip to content

Commit

Permalink
Merge pull request #9 from slorber/patch-2
Browse files Browse the repository at this point in the history
Handle "onlyLocals" breaking change
  • Loading branch information
rlamana authored Mar 9, 2021
2 parents 9a229a2 + 1cb0a8d commit 2590505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docusaurus-plugin-sass.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ module.exports = function(_, {id, ...options}) {
localIdentName: isProd
? `[local]_[hash:base64:4]`
: `[local]_[path]`,
exportOnlyLocals: isServer,
},
importLoaders: 1,
sourceMap: !isProd,
onlyLocals: isServer,
}), {
loader: 'sass-loader',
options: options || {}
Expand Down

0 comments on commit 2590505

Please sign in to comment.