Skip to content

Commit

Permalink
chore: formatting code for lint
Browse files Browse the repository at this point in the history
  • Loading branch information
webdiscus committed Jun 19, 2022
1 parent 1142fd8 commit 4c85182
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -780,13 +780,14 @@ module.exports = {

Defaults, the output of `@debug` messages is disabled.
To enable it, add to **webpack.config.js** following:

```js
module.exports = {
stats: {
loggingDebug: ['sass-loader'],
loggingDebug: ["sass-loader"],
},
//...
}
// ...
};
```

## Examples
Expand Down
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ async function getSassOptions(
const logger = loaderContext.getLogger("sass-loader");
const formatSpan = (span) =>
`${span.url || "-"}:${span.start.line}:${span.start.column}: `;
const formatDebugSpan = (span) =>
const formatDebugSpan = (span) =>
`[debug:${span.start.line}:${span.start.column}] `;

options.logger = {
Expand Down

0 comments on commit 4c85182

Please sign in to comment.