Skip to content

Commit

Permalink
Fix lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
bendvc committed Jan 17, 2025
1 parent 74b7837 commit 9feab45
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ const OverrideResolverLoader = function (this: LoaderContext<any>) {
}

// Lets use the compiler configuration to ensure we are resolving the correct file extensions.
const compilerOptions = this._compiler!.options
const extensions = compilerOptions.resolve?.extensions || []
const compilerOptions = this._compiler?.options
const extensions = compilerOptions?.resolve?.extensions || []
const basedir = options?.baseDir || process.cwd()
const applicationExtensions = compiler?.custom?.extensions || []

Expand Down

0 comments on commit 9feab45

Please sign in to comment.