Skip to content

Commit

Permalink
Merge #2125
Browse files Browse the repository at this point in the history
2125: fix: update dependency loader-utils to v3 (release-bot/next-v15.x) r=ZauberNerd a=renovate[bot]

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Philipp Hinrichsen <[email protected]>
  • Loading branch information
3 people authored Feb 28, 2022
2 parents 58f0fd0 + ff1e845 commit 9669b1f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions packages/webpack/lib/utils/loader.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const escapeJS = require('jsesc');
const escapeRegExp = require('escape-string-regexp');
const { getOptions } = require('loader-utils');

const getHelpers = (type) =>
type === 'server'
Expand Down Expand Up @@ -28,7 +27,7 @@ const getMixins = (type, mixins) => {
module.exports = function configLoader() {
this.cacheable();

const { type, mixins, config, rootDir } = getOptions(this);
const { type, mixins, config, rootDir } = this.getOptions();

return `
${getHelpers(type)}
Expand Down
1 change: 0 additions & 1 deletion packages/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"hops-yargs": "15.1.2",
"is-plain-obj": "^3.0.0",
"jsesc": "^3.0.0",
"loader-utils": "^2.0.0",
"lodash.get": "^4.4.2",
"lodash.set": "^4.3.2",
"minimatch": "^5.0.0",
Expand Down

0 comments on commit 9669b1f

Please sign in to comment.