Skip to content
This repository was archived by the owner on Dec 1, 2018. It is now read-only.

Commit 74b538a

Browse files
committed
fix(webpack): Handle case where dllIgnore was not present
Handle case where dllIgnore is not present in the project package.json
1 parent 8c6b4e2 commit 74b538a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/webpack/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ module.exports = (env = { dev: true }) => {
204204
path: './dll',
205205
entry: {
206206
vendorDll: Object.keys(pkgJson.dependencies).filter(
207-
dep => !pkgJson.dllIgnore.includes(dep)
207+
dep => typeof pkgJson.dllIgnore === 'undefined' || !pkgJson.dllIgnore.includes(dep)
208208
),
209209
},
210210
})

0 commit comments

Comments
 (0)