Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

Commit

Permalink
Improved tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
swernerx committed Feb 15, 2017
1 parent 50208fa commit 11e53ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webpack/plugins/ChunkNames.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default class ChunkNames
module.blocks.forEach((block) => {
if (checkConstructorNames(block)) {
block.dependencies.forEach((dependency) => {
if (dependency.module.resource && dependency.block) {
if (dependency.module && dependency.module.resource && dependency.block) {
const chunkName = generateChunkName(dependency.module.resource)
if (chunkName) {
dependency.block.chunkName = chunkName
Expand Down

0 comments on commit 11e53ad

Please sign in to comment.