webpack-split-chunks-analyzer
Advanced tools
Comparing version 0.2.7 to 0.2.8
@@ -54,3 +54,3 @@ "use strict"; | ||
.forEach((chunkGroup) => { | ||
const splitOriginFileName = chunkGroup.origins[0]?.request.split("/"); | ||
const splitOriginFileName = chunkGroup.origins[0]?.request?.split("/"); | ||
const originName = splitOriginFileName?.[splitOriginFileName.length - 1]; | ||
@@ -57,0 +57,0 @@ const chunkGroupSize = (0, transducist_1.chainFrom)(chunkGroup.getFiles()) |
{ | ||
"name": "webpack-split-chunks-analyzer", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"description": "Debug how your application is dynamically loaded by webpack", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -79,3 +79,3 @@ import { promises } from "fs"; | ||
.forEach((chunkGroup) => { | ||
const splitOriginFileName = chunkGroup.origins[0]?.request.split("/"); | ||
const splitOriginFileName = chunkGroup.origins[0]?.request?.split("/"); | ||
const originName = splitOriginFileName?.[splitOriginFileName.length - 1]; | ||
@@ -82,0 +82,0 @@ |
Sorry, the diff of this file is not supported yet
352319