Skip to content

Commit

Permalink
fix(deepscan): null check
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayakkulkarni committed Oct 3, 2021
1 parent b99ae9a commit 1b7a269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const build: NuxtOptionsBuild = {
},
},
extend(config: Configuration) {
if (config && config.module) {
if (config !== null && config.module) {
config.module.rules.push({
test: /\.mjs$/,
include: /node_modules/,
Expand Down

0 comments on commit 1b7a269

Please sign in to comment.