From b691a7491ce0b5392623e57df7b9ffe4fc8a8323 Mon Sep 17 00:00:00 2001 From: Oliver Joseph Ash Date: Fri, 8 Oct 2021 18:01:59 +0100 Subject: [PATCH 1/2] Add test and fix --- __fixtures__/stats.js | 2905 +++++++++++++++++ .../__snapshots__/flushChunks.test.js.snap | 30 + __tests__/flushChunks.test.js | 9 + src/flushChunks.js | 12 +- 4 files changed, 2948 insertions(+), 8 deletions(-) diff --git a/__fixtures__/stats.js b/__fixtures__/stats.js index dbb345f..e65d711 100644 --- a/__fixtures__/stats.js +++ b/__fixtures__/stats.js @@ -71,6 +71,2911 @@ export const stats = { publicPath: '/static/' } +export const statsV5 = { + hash: '0ab6c6de89f089ac4578', + version: '5.58.0', + time: 1874, + builtAt: 1633712302253, + publicPath: 'auto', + outputPath: '/Users/oliverash/Development/webpack-stats-split-chunks/dist', + assetsByChunkName: { + main: ['main.js'], + routeA: ['routeA.js'], + routeB: ['routeB.js'] + }, + assets: [ + { + type: 'asset', + name: 'vendors-node_modules_react-dom_index_js.js', + size: 129600, + emitted: true, + comparedForEmit: false, + cached: false, + info: { + javascriptModule: false, + minimized: true, + related: { + license: 'vendors-node_modules_react-dom_index_js.js.LICENSE.txt' + }, + size: 129600 + }, + chunkNames: [], + chunkIdHints: ['vendors'], + auxiliaryChunkNames: [], + auxiliaryChunkIdHints: [], + filteredRelated: 0, + related: [ + { + type: 'license', + name: 'vendors-node_modules_react-dom_index_js.js.LICENSE.txt', + size: 788, + emitted: true, + comparedForEmit: false, + cached: false, + info: { extractedComments: true, size: 788 }, + chunkNames: [], + chunkIdHints: [], + auxiliaryChunkNames: [], + auxiliaryChunkIdHints: [], + related: {}, + chunks: [], + auxiliaryChunks: [], + isOverSizeLimit: false + } + ], + chunks: ['vendors-node_modules_react-dom_index_js'], + auxiliaryChunks: [], + isOverSizeLimit: false + }, + { + type: 'asset', + name: 'main.js', + size: 2536, + emitted: true, + comparedForEmit: false, + cached: false, + info: { + javascriptModule: false, + minimized: true, + size: 2536 + }, + chunkNames: ['main'], + chunkIdHints: [], + auxiliaryChunkNames: [], + auxiliaryChunkIdHints: [], + related: {}, + chunks: ['main'], + auxiliaryChunks: [], + isOverSizeLimit: false + }, + { + type: 'asset', + name: 'routeB.js', + size: 112, + emitted: true, + comparedForEmit: false, + cached: false, + info: { + javascriptModule: false, + minimized: true, + size: 112 + }, + chunkNames: ['routeB'], + chunkIdHints: [], + auxiliaryChunkNames: [], + auxiliaryChunkIdHints: [], + related: {}, + chunks: ['routeB'], + auxiliaryChunks: [], + isOverSizeLimit: false + }, + { + type: 'asset', + name: 'routeA.js', + size: 110, + emitted: true, + comparedForEmit: false, + cached: false, + info: { + javascriptModule: false, + minimized: true, + size: 110 + }, + chunkNames: ['routeA'], + chunkIdHints: [], + auxiliaryChunkNames: [], + auxiliaryChunkIdHints: [], + related: {}, + chunks: ['routeA'], + auxiliaryChunks: [], + isOverSizeLimit: false + } + ], + chunks: [ + { + rendered: true, + initial: true, + entry: true, + recorded: false, + size: 6525, + sizes: { javascript: 103, runtime: 6422 }, + names: ['main'], + idHints: [], + runtime: ['main'], + files: ['main.js'], + auxiliaryFiles: [], + hash: '46989e2fdcb3fce88928', + childrenByOrder: {}, + id: 'main', + siblings: [], + parents: [], + children: ['routeA', 'routeB', 'vendors-node_modules_react-dom_index_js'], + modules: [ + { + type: 'module', + moduleType: 'javascript/auto', + layer: null, + size: 103, + sizes: { javascript: 103 }, + built: true, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + name: './src/entry.js', + nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + index: 0, + preOrderIndex: 0, + index2: 0, + postOrderIndex: 0, + cacheable: true, + optional: false, + orphan: false, + dependent: false, + issuer: null, + issuerName: null, + issuerPath: null, + failed: false, + errors: 0, + warnings: 0, + id: 138, + issuerId: null, + chunks: ['main'], + assets: [], + reasons: [ + { + moduleIdentifier: null, + module: null, + moduleName: null, + resolvedModuleIdentifier: null, + resolvedModule: null, + type: 'entry', + active: true, + explanation: '', + userRequest: './src/entry.js', + loc: 'main', + moduleId: null, + resolvedModuleId: null + } + ], + usedExports: [], + providedExports: null, + optimizationBailout: [ + 'Statement (ExpressionStatement) with side effects in source code at 1:0-51', + 'ModuleConcatenation bailout: Module is not an ECMAScript module' + ], + depth: 0 + }, + { + type: 'module', + moduleType: 'runtime', + layer: null, + size: 326, + sizes: { runtime: 326 }, + built: false, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: 'webpack/runtime/ensure chunk', + name: 'webpack/runtime/ensure chunk', + nameForCondition: null, + index: null, + preOrderIndex: null, + index2: null, + postOrderIndex: null, + optional: false, + orphan: false, + dependent: false, + failed: false, + errors: 0, + warnings: 0, + id: '', + chunks: ['main'], + assets: [], + reasons: [], + usedExports: null, + providedExports: [], + optimizationBailout: [], + depth: null + }, + { + type: 'module', + moduleType: 'runtime', + layer: null, + size: 167, + sizes: { runtime: 167 }, + built: false, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: 'webpack/runtime/get javascript chunk filename', + name: 'webpack/runtime/get javascript chunk filename', + nameForCondition: null, + index: null, + preOrderIndex: null, + index2: null, + postOrderIndex: null, + optional: false, + orphan: false, + dependent: false, + failed: false, + errors: 0, + warnings: 0, + id: '', + chunks: ['main'], + assets: [], + reasons: [], + usedExports: null, + providedExports: [], + optimizationBailout: [], + depth: null + }, + { + type: 'module', + moduleType: 'runtime', + layer: null, + size: 221, + sizes: { runtime: 221 }, + built: false, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: 'webpack/runtime/global', + name: 'webpack/runtime/global', + nameForCondition: null, + index: null, + preOrderIndex: null, + index2: null, + postOrderIndex: null, + optional: false, + orphan: false, + dependent: false, + failed: false, + errors: 0, + warnings: 0, + id: '', + chunks: ['main'], + assets: [], + reasons: [], + usedExports: null, + providedExports: [], + optimizationBailout: [], + depth: null + }, + { + type: 'module', + moduleType: 'runtime', + layer: null, + size: 88, + sizes: { runtime: 88 }, + built: false, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: 'webpack/runtime/hasOwnProperty shorthand', + name: 'webpack/runtime/hasOwnProperty shorthand', + nameForCondition: null, + index: null, + preOrderIndex: null, + index2: null, + postOrderIndex: null, + optional: false, + orphan: false, + dependent: false, + failed: false, + errors: 0, + warnings: 0, + id: '', + chunks: ['main'], + assets: [], + reasons: [], + usedExports: null, + providedExports: [], + optimizationBailout: [], + depth: null + }, + { + type: 'module', + moduleType: 'runtime', + layer: null, + size: 3080, + sizes: { runtime: 3080 }, + built: false, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: 'webpack/runtime/jsonp chunk loading', + name: 'webpack/runtime/jsonp chunk loading', + nameForCondition: null, + index: null, + preOrderIndex: null, + index2: null, + postOrderIndex: null, + optional: false, + orphan: false, + dependent: false, + failed: false, + errors: 0, + warnings: 0, + id: '', + chunks: ['main'], + assets: [], + reasons: [], + usedExports: null, + providedExports: [], + optimizationBailout: [], + depth: null + }, + { + type: 'module', + moduleType: 'runtime', + layer: null, + size: 1399, + sizes: { runtime: 1399 }, + built: false, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: 'webpack/runtime/load script', + name: 'webpack/runtime/load script', + nameForCondition: null, + index: null, + preOrderIndex: null, + index2: null, + postOrderIndex: null, + optional: false, + orphan: false, + dependent: false, + failed: false, + errors: 0, + warnings: 0, + id: '', + chunks: ['main'], + assets: [], + reasons: [], + usedExports: null, + providedExports: [], + optimizationBailout: [], + depth: null + }, + { + type: 'module', + moduleType: 'runtime', + layer: null, + size: 274, + sizes: { runtime: 274 }, + built: false, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: 'webpack/runtime/make namespace object', + name: 'webpack/runtime/make namespace object', + nameForCondition: null, + index: null, + preOrderIndex: null, + index2: null, + postOrderIndex: null, + optional: false, + orphan: false, + dependent: false, + failed: false, + errors: 0, + warnings: 0, + id: '', + chunks: ['main'], + assets: [], + reasons: [], + usedExports: null, + providedExports: [], + optimizationBailout: [], + depth: null + }, + { + type: 'module', + moduleType: 'runtime', + layer: null, + size: 867, + sizes: { runtime: 867 }, + built: false, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: 'webpack/runtime/publicPath', + name: 'webpack/runtime/publicPath', + nameForCondition: null, + index: null, + preOrderIndex: null, + index2: null, + postOrderIndex: null, + optional: false, + orphan: false, + dependent: false, + failed: false, + errors: 0, + warnings: 0, + id: '', + chunks: ['main'], + assets: [], + reasons: [], + usedExports: null, + providedExports: [], + optimizationBailout: [], + depth: null + } + ], + origins: [ + { + module: '', + moduleIdentifier: '', + moduleName: '', + loc: 'main', + request: './src/entry.js' + } + ] + }, + { + rendered: true, + initial: false, + entry: false, + recorded: false, + size: 78, + sizes: { javascript: 78 }, + names: ['routeA'], + idHints: [], + runtime: ['main'], + files: ['routeA.js'], + auxiliaryFiles: [], + hash: '29fa11c11e90a9587c9c', + childrenByOrder: {}, + id: 'routeA', + siblings: ['vendors-node_modules_react-dom_index_js'], + parents: ['main'], + children: [], + modules: [ + { + type: 'module', + moduleType: 'javascript/auto', + layer: null, + size: 78, + sizes: { javascript: 78 }, + built: true, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', + name: './src/routeA.js', + nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', + index: 1, + preOrderIndex: 1, + index2: 8, + postOrderIndex: 8, + cacheable: true, + optional: false, + orphan: false, + dependent: false, + issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + issuerName: './src/entry.js', + issuerPath: [ + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + name: './src/entry.js', + id: 138 + } + ], + failed: false, + errors: 0, + warnings: 0, + id: 3, + issuerId: 138, + chunks: ['routeA'], + assets: [], + reasons: [ + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + module: './src/entry.js', + moduleName: './src/entry.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + resolvedModule: './src/entry.js', + type: 'import()', + active: true, + explanation: '', + userRequest: './routeA', + loc: '1:0-51', + moduleId: 138, + resolvedModuleId: 138 + } + ], + usedExports: true, + providedExports: [], + optimizationBailout: [ + 'Dependency (harmony side effect evaluation) with side effects at 1:0-26', + 'ModuleConcatenation bailout: Cannot concat with ./node_modules/react-dom/index.js: Module is not an ECMAScript module', + 'ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js: Module is not an ECMAScript module' + ], + depth: 1 + } + ], + origins: [ + { + module: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + moduleName: './src/entry.js', + loc: '1:0-51', + request: './routeA', + moduleId: 138 + } + ] + }, + { + rendered: true, + initial: false, + entry: false, + recorded: false, + size: 78, + sizes: { javascript: 78 }, + names: ['routeB'], + idHints: [], + runtime: ['main'], + files: ['routeB.js'], + auxiliaryFiles: [], + hash: '4c0178fbf2e66217ee65', + childrenByOrder: {}, + id: 'routeB', + siblings: ['vendors-node_modules_react-dom_index_js'], + parents: ['main'], + children: [], + modules: [ + { + type: 'module', + moduleType: 'javascript/auto', + layer: null, + size: 78, + sizes: { javascript: 78 }, + built: true, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + name: './src/routeB.js', + nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + index: 9, + preOrderIndex: 9, + index2: 9, + postOrderIndex: 9, + cacheable: true, + optional: false, + orphan: false, + dependent: false, + issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + issuerName: './src/entry.js', + issuerPath: [ + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + name: './src/entry.js', + id: 138 + } + ], + failed: false, + errors: 0, + warnings: 0, + id: 642, + issuerId: 138, + chunks: ['routeB'], + assets: [], + reasons: [ + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + module: './src/entry.js', + moduleName: './src/entry.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + resolvedModule: './src/entry.js', + type: 'import()', + active: true, + explanation: '', + userRequest: './routeB', + loc: '2:0-51', + moduleId: 138, + resolvedModuleId: 138 + } + ], + usedExports: true, + providedExports: [], + optimizationBailout: [ + 'Dependency (harmony side effect evaluation) with side effects at 1:0-26', + 'ModuleConcatenation bailout: Cannot concat with ./node_modules/react-dom/index.js: Module is not an ECMAScript module', + 'ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js: Module is not an ECMAScript module' + ], + depth: 1 + } + ], + origins: [ + { + module: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + moduleName: './src/entry.js', + loc: '2:0-51', + request: './routeB', + moduleId: 138 + } + ] + }, + { + rendered: true, + initial: false, + entry: false, + recorded: false, + reason: 'split chunk (cache group: defaultVendors)', + size: 135827, + sizes: { javascript: 135827 }, + names: [], + idHints: ['vendors'], + runtime: ['main'], + files: ['vendors-node_modules_react-dom_index_js.js'], + auxiliaryFiles: [], + hash: '82d1825edef555c734fa', + childrenByOrder: {}, + id: 'vendors-node_modules_react-dom_index_js', + siblings: ['routeA', 'routeB'], + parents: ['main'], + children: [], + modules: [ + { + type: 'module', + moduleType: 'javascript/auto', + layer: null, + size: 2108, + sizes: { javascript: 2108 }, + built: true, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/object-assign/index.js', + name: './node_modules/object-assign/index.js', + nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/object-assign/index.js', + index: 4, + preOrderIndex: 4, + index2: 1, + postOrderIndex: 1, + cacheable: true, + optional: false, + orphan: false, + dependent: true, + issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', + issuerName: './node_modules/react/cjs/react.production.min.js', + issuerPath: [ + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + name: './src/entry.js', + id: 138 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + name: './src/routeB.js', + id: 642 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', + name: './node_modules/react/index.js', + id: 294 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', + name: './node_modules/react/cjs/react.production.min.js', + id: 408 + } + ], + failed: false, + errors: 0, + warnings: 0, + id: 418, + issuerId: 408, + chunks: ['vendors-node_modules_react-dom_index_js'], + assets: [], + reasons: [ + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/object-assign/index.js', + module: './node_modules/object-assign/index.js', + moduleName: './node_modules/object-assign/index.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/object-assign/index.js', + resolvedModule: './node_modules/object-assign/index.js', + type: 'cjs self exports reference', + active: true, + explanation: '', + userRequest: null, + loc: '65:0-14', + moduleId: 418, + resolvedModuleId: 418 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + module: './node_modules/react-dom/cjs/react-dom.production.min.js', + moduleName: './node_modules/react-dom/cjs/react-dom.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + resolvedModule: './node_modules/react-dom/cjs/react-dom.production.min.js', + type: 'cjs require', + active: true, + explanation: '', + userRequest: 'object-assign', + loc: '12:39-63', + moduleId: 448, + resolvedModuleId: 448 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', + module: './node_modules/react/cjs/react.production.min.js', + moduleName: './node_modules/react/cjs/react.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', + resolvedModule: './node_modules/react/cjs/react.production.min.js', + type: 'cjs require', + active: true, + explanation: '', + userRequest: 'object-assign', + loc: '9:19-43', + moduleId: 408, + resolvedModuleId: 408 + } + ], + usedExports: null, + providedExports: null, + optimizationBailout: [ + 'CommonJS bailout: module.exports is used directly at 65:0-14', + 'Statement (VariableDeclaration) with side effects in source code at 9:0-57', + 'ModuleConcatenation bailout: Module is not an ECMAScript module' + ], + depth: 4 + }, + { + type: 'module', + moduleType: 'javascript/auto', + layer: null, + size: 120688, + sizes: { javascript: 120688 }, + built: true, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + name: './node_modules/react-dom/cjs/react-dom.production.min.js', + nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + index: 6, + preOrderIndex: 6, + index2: 6, + postOrderIndex: 6, + cacheable: true, + optional: false, + orphan: false, + dependent: true, + issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', + issuerName: './node_modules/react-dom/index.js', + issuerPath: [ + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + name: './src/entry.js', + id: 138 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + name: './src/routeB.js', + id: 642 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', + name: './node_modules/react-dom/index.js', + id: 935 + } + ], + failed: false, + errors: 0, + warnings: 0, + id: 448, + issuerId: 935, + chunks: ['vendors-node_modules_react-dom_index_js'], + assets: [], + reasons: [ + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', + module: './node_modules/react-dom/index.js', + moduleName: './node_modules/react-dom/index.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', + resolvedModule: './node_modules/react-dom/index.js', + type: 'cjs export require', + active: true, + explanation: '', + userRequest: './cjs/react-dom.production.min.js', + loc: '35:2-63', + moduleId: 935, + resolvedModuleId: 935 + } + ], + usedExports: true, + providedExports: [ + '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED', + 'createPortal', + 'findDOMNode', + 'flushSync', + 'hydrate', + 'render', + 'unmountComponentAtNode', + 'unstable_batchedUpdates', + 'unstable_createPortal', + 'unstable_renderSubtreeIntoContainer', + 'version' + ], + optimizationBailout: [ + 'Statement (VariableDeclaration) with side effects in source code at 12:13-87', + 'ModuleConcatenation bailout: Module is not an ECMAScript module' + ], + depth: 3 + }, + { + type: 'module', + moduleType: 'javascript/auto', + layer: null, + size: 1363, + sizes: { javascript: 1363 }, + built: true, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', + name: './node_modules/react-dom/index.js', + nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', + index: 5, + preOrderIndex: 5, + index2: 7, + postOrderIndex: 7, + cacheable: true, + optional: false, + orphan: false, + dependent: false, + issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + issuerName: './src/routeB.js', + issuerPath: [ + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + name: './src/entry.js', + id: 138 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + name: './src/routeB.js', + id: 642 + } + ], + failed: false, + errors: 0, + warnings: 0, + id: 935, + issuerId: 642, + chunks: ['vendors-node_modules_react-dom_index_js'], + assets: [], + reasons: [ + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', + module: './src/routeA.js', + moduleName: './src/routeA.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', + resolvedModule: './src/routeA.js', + type: 'harmony side effect evaluation', + active: true, + explanation: '', + userRequest: 'react-dom', + loc: '2:0-33', + moduleId: 3, + resolvedModuleId: 3 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', + module: './src/routeA.js', + moduleName: './src/routeA.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', + resolvedModule: './src/routeA.js', + type: 'harmony import specifier', + active: true, + explanation: '', + userRequest: 'react-dom', + loc: '4:0-8', + moduleId: 3, + resolvedModuleId: 3 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + module: './src/routeB.js', + moduleName: './src/routeB.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + resolvedModule: './src/routeB.js', + type: 'harmony side effect evaluation', + active: true, + explanation: '', + userRequest: 'react-dom', + loc: '2:0-33', + moduleId: 642, + resolvedModuleId: 642 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + module: './src/routeB.js', + moduleName: './src/routeB.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + resolvedModule: './src/routeB.js', + type: 'harmony import specifier', + active: true, + explanation: '', + userRequest: 'react-dom', + loc: '4:0-8', + moduleId: 642, + resolvedModuleId: 642 + } + ], + usedExports: true, + providedExports: [ + '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED', + 'createPortal', + 'findDOMNode', + 'flushSync', + 'hydrate', + 'render', + 'unmountComponentAtNode', + 'unstable_batchedUpdates', + 'unstable_createPortal', + 'unstable_renderSubtreeIntoContainer', + 'version' + ], + optimizationBailout: [ + 'Statement (ExpressionStatement) with side effects in source code at 34:2-13', + 'ModuleConcatenation bailout: Module is not an ECMAScript module' + ], + depth: 2 + }, + { + type: 'module', + moduleType: 'javascript/auto', + layer: null, + size: 6450, + sizes: { javascript: 6450 }, + built: true, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', + name: './node_modules/react/cjs/react.production.min.js', + nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', + index: 3, + preOrderIndex: 3, + index2: 2, + postOrderIndex: 2, + cacheable: true, + optional: false, + orphan: false, + dependent: true, + issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', + issuerName: './node_modules/react/index.js', + issuerPath: [ + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + name: './src/entry.js', + id: 138 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + name: './src/routeB.js', + id: 642 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', + name: './node_modules/react/index.js', + id: 294 + } + ], + failed: false, + errors: 0, + warnings: 0, + id: 408, + issuerId: 294, + chunks: ['vendors-node_modules_react-dom_index_js'], + assets: [], + reasons: [ + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', + module: './node_modules/react/index.js', + moduleName: './node_modules/react/index.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', + resolvedModule: './node_modules/react/index.js', + type: 'cjs export require', + active: true, + explanation: '', + userRequest: './cjs/react.production.min.js', + loc: '4:2-59', + moduleId: 294, + resolvedModuleId: 294 + } + ], + usedExports: true, + providedExports: [ + 'Children', + 'Component', + 'Fragment', + 'Profiler', + 'PureComponent', + 'StrictMode', + 'Suspense', + '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED', + 'cloneElement', + 'createContext', + 'createElement', + 'createFactory', + 'createRef', + 'forwardRef', + 'isValidElement', + 'lazy', + 'memo', + 'useCallback', + 'useContext', + 'useDebugValue', + 'useEffect', + 'useImperativeHandle', + 'useLayoutEffect', + 'useMemo', + 'useReducer', + 'useRef', + 'useState', + 'version' + ], + optimizationBailout: [ + 'Statement (VariableDeclaration) with side effects in source code at 9:13-60', + 'ModuleConcatenation bailout: Module is not an ECMAScript module' + ], + depth: 3 + }, + { + type: 'module', + moduleType: 'javascript/auto', + layer: null, + size: 190, + sizes: { javascript: 190 }, + built: true, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', + name: './node_modules/react/index.js', + nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', + index: 2, + preOrderIndex: 2, + index2: 3, + postOrderIndex: 3, + cacheable: true, + optional: false, + orphan: false, + dependent: true, + issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + issuerName: './src/routeB.js', + issuerPath: [ + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + name: './src/entry.js', + id: 138 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + name: './src/routeB.js', + id: 642 + } + ], + failed: false, + errors: 0, + warnings: 0, + id: 294, + issuerId: 642, + chunks: ['vendors-node_modules_react-dom_index_js'], + assets: [], + reasons: [ + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + module: './node_modules/react-dom/cjs/react-dom.production.min.js', + moduleName: './node_modules/react-dom/cjs/react-dom.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + resolvedModule: './node_modules/react-dom/cjs/react-dom.production.min.js', + type: 'cjs require', + active: true, + explanation: '', + userRequest: 'react', + loc: '12:20-36', + moduleId: 448, + resolvedModuleId: 448 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', + module: './src/routeA.js', + moduleName: './src/routeA.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', + resolvedModule: './src/routeA.js', + type: 'harmony side effect evaluation', + active: true, + explanation: '', + userRequest: 'react', + loc: '1:0-26', + moduleId: 3, + resolvedModuleId: 3 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', + module: './src/routeA.js', + moduleName: './src/routeA.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', + resolvedModule: './src/routeA.js', + type: 'harmony import specifier', + active: true, + explanation: '', + userRequest: 'react', + loc: '3:0-5', + moduleId: 3, + resolvedModuleId: 3 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + module: './src/routeB.js', + moduleName: './src/routeB.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + resolvedModule: './src/routeB.js', + type: 'harmony side effect evaluation', + active: true, + explanation: '', + userRequest: 'react', + loc: '1:0-26', + moduleId: 642, + resolvedModuleId: 642 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + module: './src/routeB.js', + moduleName: './src/routeB.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + resolvedModule: './src/routeB.js', + type: 'harmony import specifier', + active: true, + explanation: '', + userRequest: 'react', + loc: '3:0-5', + moduleId: 642, + resolvedModuleId: 642 + } + ], + usedExports: true, + providedExports: [ + 'Children', + 'Component', + 'Fragment', + 'Profiler', + 'PureComponent', + 'StrictMode', + 'Suspense', + '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED', + 'cloneElement', + 'createContext', + 'createElement', + 'createFactory', + 'createRef', + 'forwardRef', + 'isValidElement', + 'lazy', + 'memo', + 'useCallback', + 'useContext', + 'useDebugValue', + 'useEffect', + 'useImperativeHandle', + 'useLayoutEffect', + 'useMemo', + 'useReducer', + 'useRef', + 'useState', + 'version' + ], + optimizationBailout: [ + 'Statement (ExpressionStatement) with side effects in source code at 4:2-60', + 'ModuleConcatenation bailout: Module is not an ECMAScript module' + ], + depth: 2 + }, + { + type: 'module', + moduleType: 'javascript/auto', + layer: null, + size: 4830, + sizes: { javascript: 4830 }, + built: true, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + name: './node_modules/scheduler/cjs/scheduler.production.min.js', + nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + index: 8, + preOrderIndex: 8, + index2: 4, + postOrderIndex: 4, + cacheable: true, + optional: false, + orphan: false, + dependent: true, + issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', + issuerName: './node_modules/scheduler/index.js', + issuerPath: [ + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + name: './src/entry.js', + id: 138 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + name: './src/routeB.js', + id: 642 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', + name: './node_modules/react-dom/index.js', + id: 935 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + name: './node_modules/react-dom/cjs/react-dom.production.min.js', + id: 448 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', + name: './node_modules/scheduler/index.js', + id: 840 + } + ], + failed: false, + errors: 0, + warnings: 0, + id: 53, + issuerId: 840, + chunks: ['vendors-node_modules_react-dom_index_js'], + assets: [], + reasons: [ + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + module: './node_modules/scheduler/cjs/scheduler.production.min.js', + moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', + type: 'cjs self exports reference', + active: true, + explanation: '', + userRequest: null, + loc: '10:121-141', + moduleId: 53, + resolvedModuleId: 53 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + module: './node_modules/scheduler/cjs/scheduler.production.min.js', + moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', + type: 'cjs self exports reference', + active: true, + explanation: '', + userRequest: null, + loc: '11:504-524', + moduleId: 53, + resolvedModuleId: 53 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + module: './node_modules/scheduler/cjs/scheduler.production.min.js', + moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', + type: 'cjs self exports reference', + active: true, + explanation: '', + userRequest: null, + loc: '12:312-332', + moduleId: 53, + resolvedModuleId: 53 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + module: './node_modules/scheduler/cjs/scheduler.production.min.js', + moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', + type: 'cjs self exports reference', + active: true, + explanation: '', + userRequest: null, + loc: '13:15-35', + moduleId: 53, + resolvedModuleId: 53 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + module: './node_modules/scheduler/cjs/scheduler.production.min.js', + moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', + type: 'cjs self exports reference', + active: true, + explanation: '', + userRequest: null, + loc: '16:106-134', + moduleId: 53, + resolvedModuleId: 53 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + module: './node_modules/scheduler/cjs/scheduler.production.min.js', + moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', + type: 'cjs self exports reference', + active: true, + explanation: '', + userRequest: null, + loc: '16:248-268', + moduleId: 53, + resolvedModuleId: 53 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + module: './node_modules/scheduler/cjs/scheduler.production.min.js', + moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', + type: 'cjs self exports reference', + active: true, + explanation: '', + userRequest: null, + loc: '19:56-76', + moduleId: 53, + resolvedModuleId: 53 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', + module: './node_modules/scheduler/index.js', + moduleName: './node_modules/scheduler/index.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', + resolvedModule: './node_modules/scheduler/index.js', + type: 'cjs export require', + active: true, + explanation: '', + userRequest: './cjs/scheduler.production.min.js', + loc: '4:2-63', + moduleId: 840, + resolvedModuleId: 840 + } + ], + usedExports: true, + providedExports: [ + 'unstable_IdlePriority', + 'unstable_ImmediatePriority', + 'unstable_LowPriority', + 'unstable_NormalPriority', + 'unstable_Profiling', + 'unstable_UserBlockingPriority', + 'unstable_cancelCallback', + 'unstable_continueExecution', + 'unstable_forceFrameRate', + 'unstable_getCurrentPriorityLevel', + 'unstable_getFirstCallbackNode', + 'unstable_next', + 'unstable_now', + 'unstable_pauseExecution', + 'unstable_requestPaint', + 'unstable_runWithPriority', + 'unstable_scheduleCallback', + 'unstable_shouldYield', + 'unstable_wrapCallback' + ], + optimizationBailout: [ + 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 10:121-141', + 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 11:504-524', + 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 12:312-332', + 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 13:15-35', + 'CommonJS bailout: exports.unstable_shouldYield(...) prevents optimization as exports is passed as call context at 16:106-134', + 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 16:248-268', + 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 19:56-76', + 'Statement (IfStatement) with side effects in source code at 9:25-238', + 'ModuleConcatenation bailout: Module is not an ECMAScript module' + ], + depth: 5 + }, + { + type: 'module', + moduleType: 'javascript/auto', + layer: null, + size: 198, + sizes: { javascript: 198 }, + built: true, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', + name: './node_modules/scheduler/index.js', + nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', + index: 7, + preOrderIndex: 7, + index2: 5, + postOrderIndex: 5, + cacheable: true, + optional: false, + orphan: false, + dependent: true, + issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + issuerName: './node_modules/react-dom/cjs/react-dom.production.min.js', + issuerPath: [ + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + name: './src/entry.js', + id: 138 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + name: './src/routeB.js', + id: 642 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', + name: './node_modules/react-dom/index.js', + id: 935 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + name: './node_modules/react-dom/cjs/react-dom.production.min.js', + id: 448 + } + ], + failed: false, + errors: 0, + warnings: 0, + id: 840, + issuerId: 448, + chunks: ['vendors-node_modules_react-dom_index_js'], + assets: [], + reasons: [ + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + module: './node_modules/react-dom/cjs/react-dom.production.min.js', + moduleName: './node_modules/react-dom/cjs/react-dom.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + resolvedModule: './node_modules/react-dom/cjs/react-dom.production.min.js', + type: 'cjs require', + active: true, + explanation: '', + userRequest: 'scheduler', + loc: '12:66-86', + moduleId: 448, + resolvedModuleId: 448 + } + ], + usedExports: true, + providedExports: [ + 'unstable_IdlePriority', + 'unstable_ImmediatePriority', + 'unstable_LowPriority', + 'unstable_NormalPriority', + 'unstable_Profiling', + 'unstable_UserBlockingPriority', + 'unstable_cancelCallback', + 'unstable_continueExecution', + 'unstable_forceFrameRate', + 'unstable_getCurrentPriorityLevel', + 'unstable_getFirstCallbackNode', + 'unstable_next', + 'unstable_now', + 'unstable_pauseExecution', + 'unstable_requestPaint', + 'unstable_runWithPriority', + 'unstable_scheduleCallback', + 'unstable_shouldYield', + 'unstable_wrapCallback' + ], + optimizationBailout: [ + 'Statement (ExpressionStatement) with side effects in source code at 4:2-64', + 'ModuleConcatenation bailout: Module is not an ECMAScript module' + ], + depth: 4 + } + ], + origins: [ + { + module: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + moduleName: './src/entry.js', + loc: '1:0-51', + request: './routeA', + moduleId: 138 + }, + { + module: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + moduleName: './src/entry.js', + loc: '2:0-51', + request: './routeB', + moduleId: 138 + } + ] + } + ], + modules: [ + { + type: 'module', + moduleType: 'javascript/auto', + layer: null, + size: 103, + sizes: { javascript: 103 }, + built: true, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + name: './src/entry.js', + nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + index: 0, + preOrderIndex: 0, + index2: 0, + postOrderIndex: 0, + cacheable: true, + optional: false, + orphan: false, + issuer: null, + issuerName: null, + issuerPath: null, + failed: false, + errors: 0, + warnings: 0, + id: 138, + issuerId: null, + chunks: ['main'], + assets: [], + reasons: [ + { + moduleIdentifier: null, + module: null, + moduleName: null, + resolvedModuleIdentifier: null, + resolvedModule: null, + type: 'entry', + active: true, + explanation: '', + userRequest: './src/entry.js', + loc: 'main', + moduleId: null, + resolvedModuleId: null + } + ], + usedExports: [], + providedExports: null, + optimizationBailout: [ + 'Statement (ExpressionStatement) with side effects in source code at 1:0-51', + 'ModuleConcatenation bailout: Module is not an ECMAScript module' + ], + depth: 0 + }, + { + type: 'module', + moduleType: 'javascript/auto', + layer: null, + size: 78, + sizes: { javascript: 78 }, + built: true, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', + name: './src/routeA.js', + nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', + index: 1, + preOrderIndex: 1, + index2: 8, + postOrderIndex: 8, + cacheable: true, + optional: false, + orphan: false, + issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + issuerName: './src/entry.js', + issuerPath: [ + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + name: './src/entry.js', + id: 138 + } + ], + failed: false, + errors: 0, + warnings: 0, + id: 3, + issuerId: 138, + chunks: ['routeA'], + assets: [], + reasons: [ + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + module: './src/entry.js', + moduleName: './src/entry.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + resolvedModule: './src/entry.js', + type: 'import()', + active: true, + explanation: '', + userRequest: './routeA', + loc: '1:0-51', + moduleId: 138, + resolvedModuleId: 138 + } + ], + usedExports: true, + providedExports: [], + optimizationBailout: [ + 'Dependency (harmony side effect evaluation) with side effects at 1:0-26', + 'ModuleConcatenation bailout: Cannot concat with ./node_modules/react-dom/index.js: Module is not an ECMAScript module', + 'ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js: Module is not an ECMAScript module' + ], + depth: 1 + }, + { + type: 'module', + moduleType: 'javascript/auto', + layer: null, + size: 78, + sizes: { javascript: 78 }, + built: true, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + name: './src/routeB.js', + nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + index: 9, + preOrderIndex: 9, + index2: 9, + postOrderIndex: 9, + cacheable: true, + optional: false, + orphan: false, + issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + issuerName: './src/entry.js', + issuerPath: [ + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + name: './src/entry.js', + id: 138 + } + ], + failed: false, + errors: 0, + warnings: 0, + id: 642, + issuerId: 138, + chunks: ['routeB'], + assets: [], + reasons: [ + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + module: './src/entry.js', + moduleName: './src/entry.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + resolvedModule: './src/entry.js', + type: 'import()', + active: true, + explanation: '', + userRequest: './routeB', + loc: '2:0-51', + moduleId: 138, + resolvedModuleId: 138 + } + ], + usedExports: true, + providedExports: [], + optimizationBailout: [ + 'Dependency (harmony side effect evaluation) with side effects at 1:0-26', + 'ModuleConcatenation bailout: Cannot concat with ./node_modules/react-dom/index.js: Module is not an ECMAScript module', + 'ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js: Module is not an ECMAScript module' + ], + depth: 1 + }, + { + type: 'module', + moduleType: 'javascript/auto', + layer: null, + size: 190, + sizes: { javascript: 190 }, + built: true, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', + name: './node_modules/react/index.js', + nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', + index: 2, + preOrderIndex: 2, + index2: 3, + postOrderIndex: 3, + cacheable: true, + optional: false, + orphan: false, + issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + issuerName: './src/routeB.js', + issuerPath: [ + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + name: './src/entry.js', + id: 138 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + name: './src/routeB.js', + id: 642 + } + ], + failed: false, + errors: 0, + warnings: 0, + id: 294, + issuerId: 642, + chunks: ['vendors-node_modules_react-dom_index_js'], + assets: [], + reasons: [ + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + module: './node_modules/react-dom/cjs/react-dom.production.min.js', + moduleName: './node_modules/react-dom/cjs/react-dom.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + resolvedModule: './node_modules/react-dom/cjs/react-dom.production.min.js', + type: 'cjs require', + active: true, + explanation: '', + userRequest: 'react', + loc: '12:20-36', + moduleId: 448, + resolvedModuleId: 448 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', + module: './src/routeA.js', + moduleName: './src/routeA.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', + resolvedModule: './src/routeA.js', + type: 'harmony side effect evaluation', + active: true, + explanation: '', + userRequest: 'react', + loc: '1:0-26', + moduleId: 3, + resolvedModuleId: 3 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', + module: './src/routeA.js', + moduleName: './src/routeA.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', + resolvedModule: './src/routeA.js', + type: 'harmony import specifier', + active: true, + explanation: '', + userRequest: 'react', + loc: '3:0-5', + moduleId: 3, + resolvedModuleId: 3 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + module: './src/routeB.js', + moduleName: './src/routeB.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + resolvedModule: './src/routeB.js', + type: 'harmony side effect evaluation', + active: true, + explanation: '', + userRequest: 'react', + loc: '1:0-26', + moduleId: 642, + resolvedModuleId: 642 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + module: './src/routeB.js', + moduleName: './src/routeB.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + resolvedModule: './src/routeB.js', + type: 'harmony import specifier', + active: true, + explanation: '', + userRequest: 'react', + loc: '3:0-5', + moduleId: 642, + resolvedModuleId: 642 + } + ], + usedExports: true, + providedExports: [ + 'Children', + 'Component', + 'Fragment', + 'Profiler', + 'PureComponent', + 'StrictMode', + 'Suspense', + '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED', + 'cloneElement', + 'createContext', + 'createElement', + 'createFactory', + 'createRef', + 'forwardRef', + 'isValidElement', + 'lazy', + 'memo', + 'useCallback', + 'useContext', + 'useDebugValue', + 'useEffect', + 'useImperativeHandle', + 'useLayoutEffect', + 'useMemo', + 'useReducer', + 'useRef', + 'useState', + 'version' + ], + optimizationBailout: [ + 'Statement (ExpressionStatement) with side effects in source code at 4:2-60', + 'ModuleConcatenation bailout: Module is not an ECMAScript module' + ], + depth: 2 + }, + { + type: 'module', + moduleType: 'javascript/auto', + layer: null, + size: 1363, + sizes: { javascript: 1363 }, + built: true, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', + name: './node_modules/react-dom/index.js', + nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', + index: 5, + preOrderIndex: 5, + index2: 7, + postOrderIndex: 7, + cacheable: true, + optional: false, + orphan: false, + issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + issuerName: './src/routeB.js', + issuerPath: [ + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + name: './src/entry.js', + id: 138 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + name: './src/routeB.js', + id: 642 + } + ], + failed: false, + errors: 0, + warnings: 0, + id: 935, + issuerId: 642, + chunks: ['vendors-node_modules_react-dom_index_js'], + assets: [], + reasons: [ + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', + module: './src/routeA.js', + moduleName: './src/routeA.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', + resolvedModule: './src/routeA.js', + type: 'harmony side effect evaluation', + active: true, + explanation: '', + userRequest: 'react-dom', + loc: '2:0-33', + moduleId: 3, + resolvedModuleId: 3 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', + module: './src/routeA.js', + moduleName: './src/routeA.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', + resolvedModule: './src/routeA.js', + type: 'harmony import specifier', + active: true, + explanation: '', + userRequest: 'react-dom', + loc: '4:0-8', + moduleId: 3, + resolvedModuleId: 3 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + module: './src/routeB.js', + moduleName: './src/routeB.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + resolvedModule: './src/routeB.js', + type: 'harmony side effect evaluation', + active: true, + explanation: '', + userRequest: 'react-dom', + loc: '2:0-33', + moduleId: 642, + resolvedModuleId: 642 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + module: './src/routeB.js', + moduleName: './src/routeB.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + resolvedModule: './src/routeB.js', + type: 'harmony import specifier', + active: true, + explanation: '', + userRequest: 'react-dom', + loc: '4:0-8', + moduleId: 642, + resolvedModuleId: 642 + } + ], + usedExports: true, + providedExports: [ + '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED', + 'createPortal', + 'findDOMNode', + 'flushSync', + 'hydrate', + 'render', + 'unmountComponentAtNode', + 'unstable_batchedUpdates', + 'unstable_createPortal', + 'unstable_renderSubtreeIntoContainer', + 'version' + ], + optimizationBailout: [ + 'Statement (ExpressionStatement) with side effects in source code at 34:2-13', + 'ModuleConcatenation bailout: Module is not an ECMAScript module' + ], + depth: 2 + }, + { + type: 'module', + moduleType: 'javascript/auto', + layer: null, + size: 6450, + sizes: { javascript: 6450 }, + built: true, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', + name: './node_modules/react/cjs/react.production.min.js', + nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', + index: 3, + preOrderIndex: 3, + index2: 2, + postOrderIndex: 2, + cacheable: true, + optional: false, + orphan: false, + issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', + issuerName: './node_modules/react/index.js', + issuerPath: [ + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + name: './src/entry.js', + id: 138 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + name: './src/routeB.js', + id: 642 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', + name: './node_modules/react/index.js', + id: 294 + } + ], + failed: false, + errors: 0, + warnings: 0, + id: 408, + issuerId: 294, + chunks: ['vendors-node_modules_react-dom_index_js'], + assets: [], + reasons: [ + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', + module: './node_modules/react/index.js', + moduleName: './node_modules/react/index.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', + resolvedModule: './node_modules/react/index.js', + type: 'cjs export require', + active: true, + explanation: '', + userRequest: './cjs/react.production.min.js', + loc: '4:2-59', + moduleId: 294, + resolvedModuleId: 294 + } + ], + usedExports: true, + providedExports: [ + 'Children', + 'Component', + 'Fragment', + 'Profiler', + 'PureComponent', + 'StrictMode', + 'Suspense', + '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED', + 'cloneElement', + 'createContext', + 'createElement', + 'createFactory', + 'createRef', + 'forwardRef', + 'isValidElement', + 'lazy', + 'memo', + 'useCallback', + 'useContext', + 'useDebugValue', + 'useEffect', + 'useImperativeHandle', + 'useLayoutEffect', + 'useMemo', + 'useReducer', + 'useRef', + 'useState', + 'version' + ], + optimizationBailout: [ + 'Statement (VariableDeclaration) with side effects in source code at 9:13-60', + 'ModuleConcatenation bailout: Module is not an ECMAScript module' + ], + depth: 3 + }, + { + type: 'module', + moduleType: 'javascript/auto', + layer: null, + size: 120688, + sizes: { javascript: 120688 }, + built: true, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + name: './node_modules/react-dom/cjs/react-dom.production.min.js', + nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + index: 6, + preOrderIndex: 6, + index2: 6, + postOrderIndex: 6, + cacheable: true, + optional: false, + orphan: false, + issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', + issuerName: './node_modules/react-dom/index.js', + issuerPath: [ + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + name: './src/entry.js', + id: 138 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + name: './src/routeB.js', + id: 642 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', + name: './node_modules/react-dom/index.js', + id: 935 + } + ], + failed: false, + errors: 0, + warnings: 0, + id: 448, + issuerId: 935, + chunks: ['vendors-node_modules_react-dom_index_js'], + assets: [], + reasons: [ + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', + module: './node_modules/react-dom/index.js', + moduleName: './node_modules/react-dom/index.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', + resolvedModule: './node_modules/react-dom/index.js', + type: 'cjs export require', + active: true, + explanation: '', + userRequest: './cjs/react-dom.production.min.js', + loc: '35:2-63', + moduleId: 935, + resolvedModuleId: 935 + } + ], + usedExports: true, + providedExports: [ + '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED', + 'createPortal', + 'findDOMNode', + 'flushSync', + 'hydrate', + 'render', + 'unmountComponentAtNode', + 'unstable_batchedUpdates', + 'unstable_createPortal', + 'unstable_renderSubtreeIntoContainer', + 'version' + ], + optimizationBailout: [ + 'Statement (VariableDeclaration) with side effects in source code at 12:13-87', + 'ModuleConcatenation bailout: Module is not an ECMAScript module' + ], + depth: 3 + }, + { + type: 'module', + moduleType: 'javascript/auto', + layer: null, + size: 2108, + sizes: { javascript: 2108 }, + built: true, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/object-assign/index.js', + name: './node_modules/object-assign/index.js', + nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/object-assign/index.js', + index: 4, + preOrderIndex: 4, + index2: 1, + postOrderIndex: 1, + cacheable: true, + optional: false, + orphan: false, + issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', + issuerName: './node_modules/react/cjs/react.production.min.js', + issuerPath: [ + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + name: './src/entry.js', + id: 138 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + name: './src/routeB.js', + id: 642 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', + name: './node_modules/react/index.js', + id: 294 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', + name: './node_modules/react/cjs/react.production.min.js', + id: 408 + } + ], + failed: false, + errors: 0, + warnings: 0, + id: 418, + issuerId: 408, + chunks: ['vendors-node_modules_react-dom_index_js'], + assets: [], + reasons: [ + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/object-assign/index.js', + module: './node_modules/object-assign/index.js', + moduleName: './node_modules/object-assign/index.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/object-assign/index.js', + resolvedModule: './node_modules/object-assign/index.js', + type: 'cjs self exports reference', + active: true, + explanation: '', + userRequest: null, + loc: '65:0-14', + moduleId: 418, + resolvedModuleId: 418 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + module: './node_modules/react-dom/cjs/react-dom.production.min.js', + moduleName: './node_modules/react-dom/cjs/react-dom.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + resolvedModule: './node_modules/react-dom/cjs/react-dom.production.min.js', + type: 'cjs require', + active: true, + explanation: '', + userRequest: 'object-assign', + loc: '12:39-63', + moduleId: 448, + resolvedModuleId: 448 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', + module: './node_modules/react/cjs/react.production.min.js', + moduleName: './node_modules/react/cjs/react.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', + resolvedModule: './node_modules/react/cjs/react.production.min.js', + type: 'cjs require', + active: true, + explanation: '', + userRequest: 'object-assign', + loc: '9:19-43', + moduleId: 408, + resolvedModuleId: 408 + } + ], + usedExports: null, + providedExports: null, + optimizationBailout: [ + 'CommonJS bailout: module.exports is used directly at 65:0-14', + 'Statement (VariableDeclaration) with side effects in source code at 9:0-57', + 'ModuleConcatenation bailout: Module is not an ECMAScript module' + ], + depth: 4 + }, + { + type: 'module', + moduleType: 'javascript/auto', + layer: null, + size: 198, + sizes: { javascript: 198 }, + built: true, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', + name: './node_modules/scheduler/index.js', + nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', + index: 7, + preOrderIndex: 7, + index2: 5, + postOrderIndex: 5, + cacheable: true, + optional: false, + orphan: false, + issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + issuerName: './node_modules/react-dom/cjs/react-dom.production.min.js', + issuerPath: [ + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + name: './src/entry.js', + id: 138 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + name: './src/routeB.js', + id: 642 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', + name: './node_modules/react-dom/index.js', + id: 935 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + name: './node_modules/react-dom/cjs/react-dom.production.min.js', + id: 448 + } + ], + failed: false, + errors: 0, + warnings: 0, + id: 840, + issuerId: 448, + chunks: ['vendors-node_modules_react-dom_index_js'], + assets: [], + reasons: [ + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + module: './node_modules/react-dom/cjs/react-dom.production.min.js', + moduleName: './node_modules/react-dom/cjs/react-dom.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + resolvedModule: './node_modules/react-dom/cjs/react-dom.production.min.js', + type: 'cjs require', + active: true, + explanation: '', + userRequest: 'scheduler', + loc: '12:66-86', + moduleId: 448, + resolvedModuleId: 448 + } + ], + usedExports: true, + providedExports: [ + 'unstable_IdlePriority', + 'unstable_ImmediatePriority', + 'unstable_LowPriority', + 'unstable_NormalPriority', + 'unstable_Profiling', + 'unstable_UserBlockingPriority', + 'unstable_cancelCallback', + 'unstable_continueExecution', + 'unstable_forceFrameRate', + 'unstable_getCurrentPriorityLevel', + 'unstable_getFirstCallbackNode', + 'unstable_next', + 'unstable_now', + 'unstable_pauseExecution', + 'unstable_requestPaint', + 'unstable_runWithPriority', + 'unstable_scheduleCallback', + 'unstable_shouldYield', + 'unstable_wrapCallback' + ], + optimizationBailout: [ + 'Statement (ExpressionStatement) with side effects in source code at 4:2-64', + 'ModuleConcatenation bailout: Module is not an ECMAScript module' + ], + depth: 4 + }, + { + type: 'module', + moduleType: 'javascript/auto', + layer: null, + size: 4830, + sizes: { javascript: 4830 }, + built: true, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + name: './node_modules/scheduler/cjs/scheduler.production.min.js', + nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + index: 8, + preOrderIndex: 8, + index2: 4, + postOrderIndex: 4, + cacheable: true, + optional: false, + orphan: false, + issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', + issuerName: './node_modules/scheduler/index.js', + issuerPath: [ + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', + name: './src/entry.js', + id: 138 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', + name: './src/routeB.js', + id: 642 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', + name: './node_modules/react-dom/index.js', + id: 935 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', + name: './node_modules/react-dom/cjs/react-dom.production.min.js', + id: 448 + }, + { + identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', + name: './node_modules/scheduler/index.js', + id: 840 + } + ], + failed: false, + errors: 0, + warnings: 0, + id: 53, + issuerId: 840, + chunks: ['vendors-node_modules_react-dom_index_js'], + assets: [], + reasons: [ + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + module: './node_modules/scheduler/cjs/scheduler.production.min.js', + moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', + type: 'cjs self exports reference', + active: true, + explanation: '', + userRequest: null, + loc: '10:121-141', + moduleId: 53, + resolvedModuleId: 53 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + module: './node_modules/scheduler/cjs/scheduler.production.min.js', + moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', + type: 'cjs self exports reference', + active: true, + explanation: '', + userRequest: null, + loc: '11:504-524', + moduleId: 53, + resolvedModuleId: 53 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + module: './node_modules/scheduler/cjs/scheduler.production.min.js', + moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', + type: 'cjs self exports reference', + active: true, + explanation: '', + userRequest: null, + loc: '12:312-332', + moduleId: 53, + resolvedModuleId: 53 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + module: './node_modules/scheduler/cjs/scheduler.production.min.js', + moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', + type: 'cjs self exports reference', + active: true, + explanation: '', + userRequest: null, + loc: '13:15-35', + moduleId: 53, + resolvedModuleId: 53 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + module: './node_modules/scheduler/cjs/scheduler.production.min.js', + moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', + type: 'cjs self exports reference', + active: true, + explanation: '', + userRequest: null, + loc: '16:106-134', + moduleId: 53, + resolvedModuleId: 53 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + module: './node_modules/scheduler/cjs/scheduler.production.min.js', + moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', + type: 'cjs self exports reference', + active: true, + explanation: '', + userRequest: null, + loc: '16:248-268', + moduleId: 53, + resolvedModuleId: 53 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + module: './node_modules/scheduler/cjs/scheduler.production.min.js', + moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', + resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', + type: 'cjs self exports reference', + active: true, + explanation: '', + userRequest: null, + loc: '19:56-76', + moduleId: 53, + resolvedModuleId: 53 + }, + { + moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', + module: './node_modules/scheduler/index.js', + moduleName: './node_modules/scheduler/index.js', + resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', + resolvedModule: './node_modules/scheduler/index.js', + type: 'cjs export require', + active: true, + explanation: '', + userRequest: './cjs/scheduler.production.min.js', + loc: '4:2-63', + moduleId: 840, + resolvedModuleId: 840 + } + ], + usedExports: true, + providedExports: [ + 'unstable_IdlePriority', + 'unstable_ImmediatePriority', + 'unstable_LowPriority', + 'unstable_NormalPriority', + 'unstable_Profiling', + 'unstable_UserBlockingPriority', + 'unstable_cancelCallback', + 'unstable_continueExecution', + 'unstable_forceFrameRate', + 'unstable_getCurrentPriorityLevel', + 'unstable_getFirstCallbackNode', + 'unstable_next', + 'unstable_now', + 'unstable_pauseExecution', + 'unstable_requestPaint', + 'unstable_runWithPriority', + 'unstable_scheduleCallback', + 'unstable_shouldYield', + 'unstable_wrapCallback' + ], + optimizationBailout: [ + 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 10:121-141', + 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 11:504-524', + 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 12:312-332', + 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 13:15-35', + 'CommonJS bailout: exports.unstable_shouldYield(...) prevents optimization as exports is passed as call context at 16:106-134', + 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 16:248-268', + 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 19:56-76', + 'Statement (IfStatement) with side effects in source code at 9:25-238', + 'ModuleConcatenation bailout: Module is not an ECMAScript module' + ], + depth: 5 + }, + { + type: 'module', + moduleType: 'runtime', + layer: null, + size: 326, + sizes: { runtime: 326 }, + built: false, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: 'webpack/runtime/ensure chunk', + name: 'webpack/runtime/ensure chunk', + nameForCondition: null, + index: null, + preOrderIndex: null, + index2: null, + postOrderIndex: null, + optional: false, + orphan: false, + failed: false, + errors: 0, + warnings: 0, + id: '', + chunks: ['main'], + assets: [], + reasons: [], + usedExports: null, + providedExports: [], + optimizationBailout: [], + depth: null + }, + { + type: 'module', + moduleType: 'runtime', + layer: null, + size: 167, + sizes: { runtime: 167 }, + built: false, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: 'webpack/runtime/get javascript chunk filename', + name: 'webpack/runtime/get javascript chunk filename', + nameForCondition: null, + index: null, + preOrderIndex: null, + index2: null, + postOrderIndex: null, + optional: false, + orphan: false, + failed: false, + errors: 0, + warnings: 0, + id: '', + chunks: ['main'], + assets: [], + reasons: [], + usedExports: null, + providedExports: [], + optimizationBailout: [], + depth: null + }, + { + type: 'module', + moduleType: 'runtime', + layer: null, + size: 221, + sizes: { runtime: 221 }, + built: false, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: 'webpack/runtime/global', + name: 'webpack/runtime/global', + nameForCondition: null, + index: null, + preOrderIndex: null, + index2: null, + postOrderIndex: null, + optional: false, + orphan: false, + failed: false, + errors: 0, + warnings: 0, + id: '', + chunks: ['main'], + assets: [], + reasons: [], + usedExports: null, + providedExports: [], + optimizationBailout: [], + depth: null + }, + { + type: 'module', + moduleType: 'runtime', + layer: null, + size: 88, + sizes: { runtime: 88 }, + built: false, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: 'webpack/runtime/hasOwnProperty shorthand', + name: 'webpack/runtime/hasOwnProperty shorthand', + nameForCondition: null, + index: null, + preOrderIndex: null, + index2: null, + postOrderIndex: null, + optional: false, + orphan: false, + failed: false, + errors: 0, + warnings: 0, + id: '', + chunks: ['main'], + assets: [], + reasons: [], + usedExports: null, + providedExports: [], + optimizationBailout: [], + depth: null + }, + { + type: 'module', + moduleType: 'runtime', + layer: null, + size: 3080, + sizes: { runtime: 3080 }, + built: false, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: 'webpack/runtime/jsonp chunk loading', + name: 'webpack/runtime/jsonp chunk loading', + nameForCondition: null, + index: null, + preOrderIndex: null, + index2: null, + postOrderIndex: null, + optional: false, + orphan: false, + failed: false, + errors: 0, + warnings: 0, + id: '', + chunks: ['main'], + assets: [], + reasons: [], + usedExports: null, + providedExports: [], + optimizationBailout: [], + depth: null + }, + { + type: 'module', + moduleType: 'runtime', + layer: null, + size: 1399, + sizes: { runtime: 1399 }, + built: false, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: 'webpack/runtime/load script', + name: 'webpack/runtime/load script', + nameForCondition: null, + index: null, + preOrderIndex: null, + index2: null, + postOrderIndex: null, + optional: false, + orphan: false, + failed: false, + errors: 0, + warnings: 0, + id: '', + chunks: ['main'], + assets: [], + reasons: [], + usedExports: null, + providedExports: [], + optimizationBailout: [], + depth: null + }, + { + type: 'module', + moduleType: 'runtime', + layer: null, + size: 274, + sizes: { runtime: 274 }, + built: false, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: 'webpack/runtime/make namespace object', + name: 'webpack/runtime/make namespace object', + nameForCondition: null, + index: null, + preOrderIndex: null, + index2: null, + postOrderIndex: null, + optional: false, + orphan: false, + failed: false, + errors: 0, + warnings: 0, + id: '', + chunks: ['main'], + assets: [], + reasons: [], + usedExports: null, + providedExports: [], + optimizationBailout: [], + depth: null + }, + { + type: 'module', + moduleType: 'runtime', + layer: null, + size: 867, + sizes: { runtime: 867 }, + built: false, + codeGenerated: true, + buildTimeExecuted: false, + cached: false, + identifier: 'webpack/runtime/publicPath', + name: 'webpack/runtime/publicPath', + nameForCondition: null, + index: null, + preOrderIndex: null, + index2: null, + postOrderIndex: null, + optional: false, + orphan: false, + failed: false, + errors: 0, + warnings: 0, + id: '', + chunks: ['main'], + assets: [], + reasons: [], + usedExports: null, + providedExports: [], + optimizationBailout: [], + depth: null + } + ], + entrypoints: { + main: { + name: 'main', + chunks: ['main'], + assets: [{ name: 'main.js', size: 2536 }], + filteredAssets: 0, + assetsSize: 2536, + auxiliaryAssets: [], + filteredAuxiliaryAssets: 0, + auxiliaryAssetsSize: 0, + children: {}, + childAssets: {}, + isOverSizeLimit: false + } + }, + namedChunkGroups: { + main: { + name: 'main', + chunks: ['main'], + assets: [{ name: 'main.js', size: 2536 }], + filteredAssets: 0, + assetsSize: 2536, + auxiliaryAssets: [], + filteredAuxiliaryAssets: 0, + auxiliaryAssetsSize: 0, + children: {}, + childAssets: {}, + isOverSizeLimit: false + }, + routeA: { + name: 'routeA', + chunks: ['vendors-node_modules_react-dom_index_js', 'routeA'], + assets: [ + { + name: 'vendors-node_modules_react-dom_index_js.js', + size: 129600 + }, + { name: 'routeA.js', size: 110 } + ], + filteredAssets: 0, + assetsSize: 129710, + auxiliaryAssets: [], + filteredAuxiliaryAssets: 0, + auxiliaryAssetsSize: 0, + children: {}, + childAssets: {}, + isOverSizeLimit: false + }, + routeB: { + name: 'routeB', + chunks: ['vendors-node_modules_react-dom_index_js', 'routeB'], + assets: [ + { + name: 'vendors-node_modules_react-dom_index_js.js', + size: 129600 + }, + { name: 'routeB.js', size: 112 } + ], + filteredAssets: 0, + assetsSize: 129712, + auxiliaryAssets: [], + filteredAuxiliaryAssets: 0, + auxiliaryAssetsSize: 0, + children: {}, + childAssets: {}, + isOverSizeLimit: false + } + }, + errors: [], + errorsCount: 0, + warnings: [], + warningsCount: 0, + children: [] +} + export const babelFilePaths = [ './src/Components/Example.js', './src/Components/Foo.js', diff --git a/__tests__/__snapshots__/flushChunks.test.js.snap b/__tests__/__snapshots__/flushChunks.test.js.snap index f45a381..026fc8d 100644 --- a/__tests__/__snapshots__/flushChunks.test.js.snap +++ b/__tests__/__snapshots__/flushChunks.test.js.snap @@ -163,6 +163,36 @@ Object { } `; +exports[`flushChunks() called as pure function webpack v5 - chunkNames 1`] = ` +Object { + "Css": [Function], + "CssHash": [Function], + "Js": [Function], + "Styles": [Function], + "css": Object { + "toString": [Function], + }, + "cssHash": Object { + "toString": [Function], + }, + "cssHashRaw": Object {}, + "js": Object { + "toString": [Function], + }, + "outputPath": undefined, + "publicPath": "auto", + "scripts": Array [ + "vendors-node_modules_react-dom_index_js.js", + "routeA.js", + "main.js", + ], + "styles": Object { + "toString": [Function], + }, + "stylesheets": Array [], +} +`; + exports[`flushChunks() called as pure function webpack: uses default entries when no named chunks provided via opts.before/after 1`] = ` Object { "Css": [Function], diff --git a/__tests__/flushChunks.test.js b/__tests__/flushChunks.test.js index ff0a6f4..ca019f5 100644 --- a/__tests__/flushChunks.test.js +++ b/__tests__/flushChunks.test.js @@ -14,6 +14,7 @@ import { import { stats, + statsV5, rootDir, babelFilePaths, webpackModuleIds, @@ -77,6 +78,14 @@ describe('flushChunks() called as pure function', () => { expect(files).toMatchSnapshot() }) + + it('webpack v5 - chunkNames', () => { + const files = flushChunks(statsV5, true, { + chunkNames: ['routeA'] + }) /*? */ + + expect(files).toMatchSnapshot() + }) }) describe('flushFiles() called as a pure function', () => { diff --git a/src/flushChunks.js b/src/flushChunks.js index 0a08748..cd11a5e 100644 --- a/src/flushChunks.js +++ b/src/flushChunks.js @@ -246,14 +246,10 @@ const filesFromChunks = ( ): Files => { const chunksByID = findChunkById(stats) - const entryToFiles = entry => { - if (typeof entry === 'number') { - return chunksByID[entry] - } - return ( - stats.assetsByChunkName[entry] || stats.assetsByChunkName[`${entry}-`] - ) - } + const entryToFiles = entry => + chunksByID[entry] || + stats.assetsByChunkName[entry] || + stats.assetsByChunkName[`${entry}-`] const chunksWithAssets = chunksToResolve({ chunkNames, From c54b984db6b0b5f39b63d7c009f8c187af7f6c7b Mon Sep 17 00:00:00 2001 From: Oliver Joseph Ash Date: Fri, 8 Oct 2021 18:08:28 +0100 Subject: [PATCH 2/2] Reduce --- __fixtures__/stats.js | 2860 +---------------------------------------- 1 file changed, 44 insertions(+), 2816 deletions(-) diff --git a/__fixtures__/stats.js b/__fixtures__/stats.js index e65d711..ef34b44 100644 --- a/__fixtures__/stats.js +++ b/__fixtures__/stats.js @@ -72,2908 +72,136 @@ export const stats = { } export const statsV5 = { - hash: '0ab6c6de89f089ac4578', - version: '5.58.0', - time: 1874, - builtAt: 1633712302253, publicPath: 'auto', - outputPath: '/Users/oliverash/Development/webpack-stats-split-chunks/dist', assetsByChunkName: { main: ['main.js'], routeA: ['routeA.js'], routeB: ['routeB.js'] }, - assets: [ - { - type: 'asset', - name: 'vendors-node_modules_react-dom_index_js.js', - size: 129600, - emitted: true, - comparedForEmit: false, - cached: false, - info: { - javascriptModule: false, - minimized: true, - related: { - license: 'vendors-node_modules_react-dom_index_js.js.LICENSE.txt' - }, - size: 129600 - }, - chunkNames: [], - chunkIdHints: ['vendors'], - auxiliaryChunkNames: [], - auxiliaryChunkIdHints: [], - filteredRelated: 0, - related: [ - { - type: 'license', - name: 'vendors-node_modules_react-dom_index_js.js.LICENSE.txt', - size: 788, - emitted: true, - comparedForEmit: false, - cached: false, - info: { extractedComments: true, size: 788 }, - chunkNames: [], - chunkIdHints: [], - auxiliaryChunkNames: [], - auxiliaryChunkIdHints: [], - related: {}, - chunks: [], - auxiliaryChunks: [], - isOverSizeLimit: false - } - ], - chunks: ['vendors-node_modules_react-dom_index_js'], - auxiliaryChunks: [], - isOverSizeLimit: false - }, - { - type: 'asset', - name: 'main.js', - size: 2536, - emitted: true, - comparedForEmit: false, - cached: false, - info: { - javascriptModule: false, - minimized: true, - size: 2536 - }, - chunkNames: ['main'], - chunkIdHints: [], - auxiliaryChunkNames: [], - auxiliaryChunkIdHints: [], - related: {}, - chunks: ['main'], - auxiliaryChunks: [], - isOverSizeLimit: false - }, - { - type: 'asset', - name: 'routeB.js', - size: 112, - emitted: true, - comparedForEmit: false, - cached: false, - info: { - javascriptModule: false, - minimized: true, - size: 112 - }, - chunkNames: ['routeB'], - chunkIdHints: [], - auxiliaryChunkNames: [], - auxiliaryChunkIdHints: [], - related: {}, - chunks: ['routeB'], - auxiliaryChunks: [], - isOverSizeLimit: false - }, - { - type: 'asset', - name: 'routeA.js', - size: 110, - emitted: true, - comparedForEmit: false, - cached: false, - info: { - javascriptModule: false, - minimized: true, - size: 110 - }, - chunkNames: ['routeA'], - chunkIdHints: [], - auxiliaryChunkNames: [], - auxiliaryChunkIdHints: [], - related: {}, - chunks: ['routeA'], - auxiliaryChunks: [], - isOverSizeLimit: false - } - ], chunks: [ { - rendered: true, - initial: true, - entry: true, - recorded: false, - size: 6525, - sizes: { javascript: 103, runtime: 6422 }, - names: ['main'], - idHints: [], - runtime: ['main'], files: ['main.js'], - auxiliaryFiles: [], - hash: '46989e2fdcb3fce88928', - childrenByOrder: {}, - id: 'main', - siblings: [], - parents: [], - children: ['routeA', 'routeB', 'vendors-node_modules_react-dom_index_js'], - modules: [ - { - type: 'module', - moduleType: 'javascript/auto', - layer: null, - size: 103, - sizes: { javascript: 103 }, - built: true, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - name: './src/entry.js', - nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - index: 0, - preOrderIndex: 0, - index2: 0, - postOrderIndex: 0, - cacheable: true, - optional: false, - orphan: false, - dependent: false, - issuer: null, - issuerName: null, - issuerPath: null, - failed: false, - errors: 0, - warnings: 0, - id: 138, - issuerId: null, - chunks: ['main'], - assets: [], - reasons: [ - { - moduleIdentifier: null, - module: null, - moduleName: null, - resolvedModuleIdentifier: null, - resolvedModule: null, - type: 'entry', - active: true, - explanation: '', - userRequest: './src/entry.js', - loc: 'main', - moduleId: null, - resolvedModuleId: null - } - ], - usedExports: [], - providedExports: null, - optimizationBailout: [ - 'Statement (ExpressionStatement) with side effects in source code at 1:0-51', - 'ModuleConcatenation bailout: Module is not an ECMAScript module' - ], - depth: 0 - }, - { - type: 'module', - moduleType: 'runtime', - layer: null, - size: 326, - sizes: { runtime: 326 }, - built: false, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: 'webpack/runtime/ensure chunk', - name: 'webpack/runtime/ensure chunk', - nameForCondition: null, - index: null, - preOrderIndex: null, - index2: null, - postOrderIndex: null, - optional: false, - orphan: false, - dependent: false, - failed: false, - errors: 0, - warnings: 0, - id: '', - chunks: ['main'], - assets: [], - reasons: [], - usedExports: null, - providedExports: [], - optimizationBailout: [], - depth: null - }, - { - type: 'module', - moduleType: 'runtime', - layer: null, - size: 167, - sizes: { runtime: 167 }, - built: false, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: 'webpack/runtime/get javascript chunk filename', - name: 'webpack/runtime/get javascript chunk filename', - nameForCondition: null, - index: null, - preOrderIndex: null, - index2: null, - postOrderIndex: null, - optional: false, - orphan: false, - dependent: false, - failed: false, - errors: 0, - warnings: 0, - id: '', - chunks: ['main'], - assets: [], - reasons: [], - usedExports: null, - providedExports: [], - optimizationBailout: [], - depth: null - }, - { - type: 'module', - moduleType: 'runtime', - layer: null, - size: 221, - sizes: { runtime: 221 }, - built: false, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: 'webpack/runtime/global', - name: 'webpack/runtime/global', - nameForCondition: null, - index: null, - preOrderIndex: null, - index2: null, - postOrderIndex: null, - optional: false, - orphan: false, - dependent: false, - failed: false, - errors: 0, - warnings: 0, - id: '', - chunks: ['main'], - assets: [], - reasons: [], - usedExports: null, - providedExports: [], - optimizationBailout: [], - depth: null - }, - { - type: 'module', - moduleType: 'runtime', - layer: null, - size: 88, - sizes: { runtime: 88 }, - built: false, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: 'webpack/runtime/hasOwnProperty shorthand', - name: 'webpack/runtime/hasOwnProperty shorthand', - nameForCondition: null, - index: null, - preOrderIndex: null, - index2: null, - postOrderIndex: null, - optional: false, - orphan: false, - dependent: false, - failed: false, - errors: 0, - warnings: 0, - id: '', - chunks: ['main'], - assets: [], - reasons: [], - usedExports: null, - providedExports: [], - optimizationBailout: [], - depth: null - }, - { - type: 'module', - moduleType: 'runtime', - layer: null, - size: 3080, - sizes: { runtime: 3080 }, - built: false, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: 'webpack/runtime/jsonp chunk loading', - name: 'webpack/runtime/jsonp chunk loading', - nameForCondition: null, - index: null, - preOrderIndex: null, - index2: null, - postOrderIndex: null, - optional: false, - orphan: false, - dependent: false, - failed: false, - errors: 0, - warnings: 0, - id: '', - chunks: ['main'], - assets: [], - reasons: [], - usedExports: null, - providedExports: [], - optimizationBailout: [], - depth: null - }, - { - type: 'module', - moduleType: 'runtime', - layer: null, - size: 1399, - sizes: { runtime: 1399 }, - built: false, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: 'webpack/runtime/load script', - name: 'webpack/runtime/load script', - nameForCondition: null, - index: null, - preOrderIndex: null, - index2: null, - postOrderIndex: null, - optional: false, - orphan: false, - dependent: false, - failed: false, - errors: 0, - warnings: 0, - id: '', - chunks: ['main'], - assets: [], - reasons: [], - usedExports: null, - providedExports: [], - optimizationBailout: [], - depth: null - }, - { - type: 'module', - moduleType: 'runtime', - layer: null, - size: 274, - sizes: { runtime: 274 }, - built: false, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: 'webpack/runtime/make namespace object', - name: 'webpack/runtime/make namespace object', - nameForCondition: null, - index: null, - preOrderIndex: null, - index2: null, - postOrderIndex: null, - optional: false, - orphan: false, - dependent: false, - failed: false, - errors: 0, - warnings: 0, - id: '', - chunks: ['main'], - assets: [], - reasons: [], - usedExports: null, - providedExports: [], - optimizationBailout: [], - depth: null - }, - { - type: 'module', - moduleType: 'runtime', - layer: null, - size: 867, - sizes: { runtime: 867 }, - built: false, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: 'webpack/runtime/publicPath', - name: 'webpack/runtime/publicPath', - nameForCondition: null, - index: null, - preOrderIndex: null, - index2: null, - postOrderIndex: null, - optional: false, - orphan: false, - dependent: false, - failed: false, - errors: 0, - warnings: 0, - id: '', - chunks: ['main'], - assets: [], - reasons: [], - usedExports: null, - providedExports: [], - optimizationBailout: [], - depth: null - } - ], - origins: [ - { - module: '', - moduleIdentifier: '', - moduleName: '', - loc: 'main', - request: './src/entry.js' - } - ] + id: 'main' }, { - rendered: true, - initial: false, - entry: false, - recorded: false, - size: 78, - sizes: { javascript: 78 }, - names: ['routeA'], - idHints: [], - runtime: ['main'], files: ['routeA.js'], - auxiliaryFiles: [], - hash: '29fa11c11e90a9587c9c', - childrenByOrder: {}, - id: 'routeA', - siblings: ['vendors-node_modules_react-dom_index_js'], - parents: ['main'], - children: [], - modules: [ - { - type: 'module', - moduleType: 'javascript/auto', - layer: null, - size: 78, - sizes: { javascript: 78 }, - built: true, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', - name: './src/routeA.js', - nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', - index: 1, - preOrderIndex: 1, - index2: 8, - postOrderIndex: 8, - cacheable: true, - optional: false, - orphan: false, - dependent: false, - issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - issuerName: './src/entry.js', - issuerPath: [ - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - name: './src/entry.js', - id: 138 - } - ], - failed: false, - errors: 0, - warnings: 0, - id: 3, - issuerId: 138, - chunks: ['routeA'], - assets: [], - reasons: [ - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - module: './src/entry.js', - moduleName: './src/entry.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - resolvedModule: './src/entry.js', - type: 'import()', - active: true, - explanation: '', - userRequest: './routeA', - loc: '1:0-51', - moduleId: 138, - resolvedModuleId: 138 - } - ], - usedExports: true, - providedExports: [], - optimizationBailout: [ - 'Dependency (harmony side effect evaluation) with side effects at 1:0-26', - 'ModuleConcatenation bailout: Cannot concat with ./node_modules/react-dom/index.js: Module is not an ECMAScript module', - 'ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js: Module is not an ECMAScript module' - ], - depth: 1 - } - ], - origins: [ - { - module: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - moduleName: './src/entry.js', - loc: '1:0-51', - request: './routeA', - moduleId: 138 - } - ] + id: 'routeA' }, { - rendered: true, - initial: false, - entry: false, - recorded: false, - size: 78, - sizes: { javascript: 78 }, - names: ['routeB'], - idHints: [], - runtime: ['main'], files: ['routeB.js'], - auxiliaryFiles: [], - hash: '4c0178fbf2e66217ee65', - childrenByOrder: {}, - id: 'routeB', - siblings: ['vendors-node_modules_react-dom_index_js'], - parents: ['main'], - children: [], - modules: [ - { - type: 'module', - moduleType: 'javascript/auto', - layer: null, - size: 78, - sizes: { javascript: 78 }, - built: true, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - name: './src/routeB.js', - nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - index: 9, - preOrderIndex: 9, - index2: 9, - postOrderIndex: 9, - cacheable: true, - optional: false, - orphan: false, - dependent: false, - issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - issuerName: './src/entry.js', - issuerPath: [ - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - name: './src/entry.js', - id: 138 - } - ], - failed: false, - errors: 0, - warnings: 0, - id: 642, - issuerId: 138, - chunks: ['routeB'], - assets: [], - reasons: [ - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - module: './src/entry.js', - moduleName: './src/entry.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - resolvedModule: './src/entry.js', - type: 'import()', - active: true, - explanation: '', - userRequest: './routeB', - loc: '2:0-51', - moduleId: 138, - resolvedModuleId: 138 - } - ], - usedExports: true, - providedExports: [], - optimizationBailout: [ - 'Dependency (harmony side effect evaluation) with side effects at 1:0-26', - 'ModuleConcatenation bailout: Cannot concat with ./node_modules/react-dom/index.js: Module is not an ECMAScript module', - 'ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js: Module is not an ECMAScript module' - ], - depth: 1 - } - ], - origins: [ - { - module: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - moduleName: './src/entry.js', - loc: '2:0-51', - request: './routeB', - moduleId: 138 - } - ] + id: 'routeB' }, { - rendered: true, - initial: false, - entry: false, - recorded: false, - reason: 'split chunk (cache group: defaultVendors)', - size: 135827, - sizes: { javascript: 135827 }, - names: [], - idHints: ['vendors'], - runtime: ['main'], files: ['vendors-node_modules_react-dom_index_js.js'], - auxiliaryFiles: [], - hash: '82d1825edef555c734fa', - childrenByOrder: {}, - id: 'vendors-node_modules_react-dom_index_js', - siblings: ['routeA', 'routeB'], - parents: ['main'], - children: [], - modules: [ - { - type: 'module', - moduleType: 'javascript/auto', - layer: null, - size: 2108, - sizes: { javascript: 2108 }, - built: true, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/object-assign/index.js', - name: './node_modules/object-assign/index.js', - nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/object-assign/index.js', - index: 4, - preOrderIndex: 4, - index2: 1, - postOrderIndex: 1, - cacheable: true, - optional: false, - orphan: false, - dependent: true, - issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', - issuerName: './node_modules/react/cjs/react.production.min.js', - issuerPath: [ - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - name: './src/entry.js', - id: 138 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - name: './src/routeB.js', - id: 642 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', - name: './node_modules/react/index.js', - id: 294 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', - name: './node_modules/react/cjs/react.production.min.js', - id: 408 - } - ], - failed: false, - errors: 0, - warnings: 0, - id: 418, - issuerId: 408, - chunks: ['vendors-node_modules_react-dom_index_js'], - assets: [], - reasons: [ - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/object-assign/index.js', - module: './node_modules/object-assign/index.js', - moduleName: './node_modules/object-assign/index.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/object-assign/index.js', - resolvedModule: './node_modules/object-assign/index.js', - type: 'cjs self exports reference', - active: true, - explanation: '', - userRequest: null, - loc: '65:0-14', - moduleId: 418, - resolvedModuleId: 418 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - module: './node_modules/react-dom/cjs/react-dom.production.min.js', - moduleName: './node_modules/react-dom/cjs/react-dom.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - resolvedModule: './node_modules/react-dom/cjs/react-dom.production.min.js', - type: 'cjs require', - active: true, - explanation: '', - userRequest: 'object-assign', - loc: '12:39-63', - moduleId: 448, - resolvedModuleId: 448 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', - module: './node_modules/react/cjs/react.production.min.js', - moduleName: './node_modules/react/cjs/react.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', - resolvedModule: './node_modules/react/cjs/react.production.min.js', - type: 'cjs require', - active: true, - explanation: '', - userRequest: 'object-assign', - loc: '9:19-43', - moduleId: 408, - resolvedModuleId: 408 - } - ], - usedExports: null, - providedExports: null, - optimizationBailout: [ - 'CommonJS bailout: module.exports is used directly at 65:0-14', - 'Statement (VariableDeclaration) with side effects in source code at 9:0-57', - 'ModuleConcatenation bailout: Module is not an ECMAScript module' - ], - depth: 4 - }, - { - type: 'module', - moduleType: 'javascript/auto', - layer: null, - size: 120688, - sizes: { javascript: 120688 }, - built: true, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - name: './node_modules/react-dom/cjs/react-dom.production.min.js', - nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - index: 6, - preOrderIndex: 6, - index2: 6, - postOrderIndex: 6, - cacheable: true, - optional: false, - orphan: false, - dependent: true, - issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', - issuerName: './node_modules/react-dom/index.js', - issuerPath: [ - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - name: './src/entry.js', - id: 138 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - name: './src/routeB.js', - id: 642 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', - name: './node_modules/react-dom/index.js', - id: 935 - } - ], - failed: false, - errors: 0, - warnings: 0, - id: 448, - issuerId: 935, - chunks: ['vendors-node_modules_react-dom_index_js'], - assets: [], - reasons: [ - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', - module: './node_modules/react-dom/index.js', - moduleName: './node_modules/react-dom/index.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', - resolvedModule: './node_modules/react-dom/index.js', - type: 'cjs export require', - active: true, - explanation: '', - userRequest: './cjs/react-dom.production.min.js', - loc: '35:2-63', - moduleId: 935, - resolvedModuleId: 935 - } - ], - usedExports: true, - providedExports: [ - '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED', - 'createPortal', - 'findDOMNode', - 'flushSync', - 'hydrate', - 'render', - 'unmountComponentAtNode', - 'unstable_batchedUpdates', - 'unstable_createPortal', - 'unstable_renderSubtreeIntoContainer', - 'version' - ], - optimizationBailout: [ - 'Statement (VariableDeclaration) with side effects in source code at 12:13-87', - 'ModuleConcatenation bailout: Module is not an ECMAScript module' - ], - depth: 3 - }, - { - type: 'module', - moduleType: 'javascript/auto', - layer: null, - size: 1363, - sizes: { javascript: 1363 }, - built: true, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', - name: './node_modules/react-dom/index.js', - nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', - index: 5, - preOrderIndex: 5, - index2: 7, - postOrderIndex: 7, - cacheable: true, - optional: false, - orphan: false, - dependent: false, - issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - issuerName: './src/routeB.js', - issuerPath: [ - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - name: './src/entry.js', - id: 138 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - name: './src/routeB.js', - id: 642 - } - ], - failed: false, - errors: 0, - warnings: 0, - id: 935, - issuerId: 642, - chunks: ['vendors-node_modules_react-dom_index_js'], - assets: [], - reasons: [ - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', - module: './src/routeA.js', - moduleName: './src/routeA.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', - resolvedModule: './src/routeA.js', - type: 'harmony side effect evaluation', - active: true, - explanation: '', - userRequest: 'react-dom', - loc: '2:0-33', - moduleId: 3, - resolvedModuleId: 3 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', - module: './src/routeA.js', - moduleName: './src/routeA.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', - resolvedModule: './src/routeA.js', - type: 'harmony import specifier', - active: true, - explanation: '', - userRequest: 'react-dom', - loc: '4:0-8', - moduleId: 3, - resolvedModuleId: 3 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - module: './src/routeB.js', - moduleName: './src/routeB.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - resolvedModule: './src/routeB.js', - type: 'harmony side effect evaluation', - active: true, - explanation: '', - userRequest: 'react-dom', - loc: '2:0-33', - moduleId: 642, - resolvedModuleId: 642 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - module: './src/routeB.js', - moduleName: './src/routeB.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - resolvedModule: './src/routeB.js', - type: 'harmony import specifier', - active: true, - explanation: '', - userRequest: 'react-dom', - loc: '4:0-8', - moduleId: 642, - resolvedModuleId: 642 - } - ], - usedExports: true, - providedExports: [ - '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED', - 'createPortal', - 'findDOMNode', - 'flushSync', - 'hydrate', - 'render', - 'unmountComponentAtNode', - 'unstable_batchedUpdates', - 'unstable_createPortal', - 'unstable_renderSubtreeIntoContainer', - 'version' - ], - optimizationBailout: [ - 'Statement (ExpressionStatement) with side effects in source code at 34:2-13', - 'ModuleConcatenation bailout: Module is not an ECMAScript module' - ], - depth: 2 - }, - { - type: 'module', - moduleType: 'javascript/auto', - layer: null, - size: 6450, - sizes: { javascript: 6450 }, - built: true, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', - name: './node_modules/react/cjs/react.production.min.js', - nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', - index: 3, - preOrderIndex: 3, - index2: 2, - postOrderIndex: 2, - cacheable: true, - optional: false, - orphan: false, - dependent: true, - issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', - issuerName: './node_modules/react/index.js', - issuerPath: [ - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - name: './src/entry.js', - id: 138 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - name: './src/routeB.js', - id: 642 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', - name: './node_modules/react/index.js', - id: 294 - } - ], - failed: false, - errors: 0, - warnings: 0, - id: 408, - issuerId: 294, - chunks: ['vendors-node_modules_react-dom_index_js'], - assets: [], - reasons: [ - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', - module: './node_modules/react/index.js', - moduleName: './node_modules/react/index.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', - resolvedModule: './node_modules/react/index.js', - type: 'cjs export require', - active: true, - explanation: '', - userRequest: './cjs/react.production.min.js', - loc: '4:2-59', - moduleId: 294, - resolvedModuleId: 294 - } - ], - usedExports: true, - providedExports: [ - 'Children', - 'Component', - 'Fragment', - 'Profiler', - 'PureComponent', - 'StrictMode', - 'Suspense', - '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED', - 'cloneElement', - 'createContext', - 'createElement', - 'createFactory', - 'createRef', - 'forwardRef', - 'isValidElement', - 'lazy', - 'memo', - 'useCallback', - 'useContext', - 'useDebugValue', - 'useEffect', - 'useImperativeHandle', - 'useLayoutEffect', - 'useMemo', - 'useReducer', - 'useRef', - 'useState', - 'version' - ], - optimizationBailout: [ - 'Statement (VariableDeclaration) with side effects in source code at 9:13-60', - 'ModuleConcatenation bailout: Module is not an ECMAScript module' - ], - depth: 3 - }, - { - type: 'module', - moduleType: 'javascript/auto', - layer: null, - size: 190, - sizes: { javascript: 190 }, - built: true, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', - name: './node_modules/react/index.js', - nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', - index: 2, - preOrderIndex: 2, - index2: 3, - postOrderIndex: 3, - cacheable: true, - optional: false, - orphan: false, - dependent: true, - issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - issuerName: './src/routeB.js', - issuerPath: [ - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - name: './src/entry.js', - id: 138 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - name: './src/routeB.js', - id: 642 - } - ], - failed: false, - errors: 0, - warnings: 0, - id: 294, - issuerId: 642, - chunks: ['vendors-node_modules_react-dom_index_js'], - assets: [], - reasons: [ - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - module: './node_modules/react-dom/cjs/react-dom.production.min.js', - moduleName: './node_modules/react-dom/cjs/react-dom.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - resolvedModule: './node_modules/react-dom/cjs/react-dom.production.min.js', - type: 'cjs require', - active: true, - explanation: '', - userRequest: 'react', - loc: '12:20-36', - moduleId: 448, - resolvedModuleId: 448 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', - module: './src/routeA.js', - moduleName: './src/routeA.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', - resolvedModule: './src/routeA.js', - type: 'harmony side effect evaluation', - active: true, - explanation: '', - userRequest: 'react', - loc: '1:0-26', - moduleId: 3, - resolvedModuleId: 3 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', - module: './src/routeA.js', - moduleName: './src/routeA.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', - resolvedModule: './src/routeA.js', - type: 'harmony import specifier', - active: true, - explanation: '', - userRequest: 'react', - loc: '3:0-5', - moduleId: 3, - resolvedModuleId: 3 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - module: './src/routeB.js', - moduleName: './src/routeB.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - resolvedModule: './src/routeB.js', - type: 'harmony side effect evaluation', - active: true, - explanation: '', - userRequest: 'react', - loc: '1:0-26', - moduleId: 642, - resolvedModuleId: 642 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - module: './src/routeB.js', - moduleName: './src/routeB.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - resolvedModule: './src/routeB.js', - type: 'harmony import specifier', - active: true, - explanation: '', - userRequest: 'react', - loc: '3:0-5', - moduleId: 642, - resolvedModuleId: 642 - } - ], - usedExports: true, - providedExports: [ - 'Children', - 'Component', - 'Fragment', - 'Profiler', - 'PureComponent', - 'StrictMode', - 'Suspense', - '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED', - 'cloneElement', - 'createContext', - 'createElement', - 'createFactory', - 'createRef', - 'forwardRef', - 'isValidElement', - 'lazy', - 'memo', - 'useCallback', - 'useContext', - 'useDebugValue', - 'useEffect', - 'useImperativeHandle', - 'useLayoutEffect', - 'useMemo', - 'useReducer', - 'useRef', - 'useState', - 'version' - ], - optimizationBailout: [ - 'Statement (ExpressionStatement) with side effects in source code at 4:2-60', - 'ModuleConcatenation bailout: Module is not an ECMAScript module' - ], - depth: 2 - }, - { - type: 'module', - moduleType: 'javascript/auto', - layer: null, - size: 4830, - sizes: { javascript: 4830 }, - built: true, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - name: './node_modules/scheduler/cjs/scheduler.production.min.js', - nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - index: 8, - preOrderIndex: 8, - index2: 4, - postOrderIndex: 4, - cacheable: true, - optional: false, - orphan: false, - dependent: true, - issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', - issuerName: './node_modules/scheduler/index.js', - issuerPath: [ - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - name: './src/entry.js', - id: 138 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - name: './src/routeB.js', - id: 642 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', - name: './node_modules/react-dom/index.js', - id: 935 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - name: './node_modules/react-dom/cjs/react-dom.production.min.js', - id: 448 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', - name: './node_modules/scheduler/index.js', - id: 840 - } - ], - failed: false, - errors: 0, - warnings: 0, - id: 53, - issuerId: 840, - chunks: ['vendors-node_modules_react-dom_index_js'], - assets: [], - reasons: [ - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - module: './node_modules/scheduler/cjs/scheduler.production.min.js', - moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', - type: 'cjs self exports reference', - active: true, - explanation: '', - userRequest: null, - loc: '10:121-141', - moduleId: 53, - resolvedModuleId: 53 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - module: './node_modules/scheduler/cjs/scheduler.production.min.js', - moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', - type: 'cjs self exports reference', - active: true, - explanation: '', - userRequest: null, - loc: '11:504-524', - moduleId: 53, - resolvedModuleId: 53 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - module: './node_modules/scheduler/cjs/scheduler.production.min.js', - moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', - type: 'cjs self exports reference', - active: true, - explanation: '', - userRequest: null, - loc: '12:312-332', - moduleId: 53, - resolvedModuleId: 53 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - module: './node_modules/scheduler/cjs/scheduler.production.min.js', - moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', - type: 'cjs self exports reference', - active: true, - explanation: '', - userRequest: null, - loc: '13:15-35', - moduleId: 53, - resolvedModuleId: 53 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - module: './node_modules/scheduler/cjs/scheduler.production.min.js', - moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', - type: 'cjs self exports reference', - active: true, - explanation: '', - userRequest: null, - loc: '16:106-134', - moduleId: 53, - resolvedModuleId: 53 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - module: './node_modules/scheduler/cjs/scheduler.production.min.js', - moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', - type: 'cjs self exports reference', - active: true, - explanation: '', - userRequest: null, - loc: '16:248-268', - moduleId: 53, - resolvedModuleId: 53 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - module: './node_modules/scheduler/cjs/scheduler.production.min.js', - moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', - type: 'cjs self exports reference', - active: true, - explanation: '', - userRequest: null, - loc: '19:56-76', - moduleId: 53, - resolvedModuleId: 53 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', - module: './node_modules/scheduler/index.js', - moduleName: './node_modules/scheduler/index.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', - resolvedModule: './node_modules/scheduler/index.js', - type: 'cjs export require', - active: true, - explanation: '', - userRequest: './cjs/scheduler.production.min.js', - loc: '4:2-63', - moduleId: 840, - resolvedModuleId: 840 - } - ], - usedExports: true, - providedExports: [ - 'unstable_IdlePriority', - 'unstable_ImmediatePriority', - 'unstable_LowPriority', - 'unstable_NormalPriority', - 'unstable_Profiling', - 'unstable_UserBlockingPriority', - 'unstable_cancelCallback', - 'unstable_continueExecution', - 'unstable_forceFrameRate', - 'unstable_getCurrentPriorityLevel', - 'unstable_getFirstCallbackNode', - 'unstable_next', - 'unstable_now', - 'unstable_pauseExecution', - 'unstable_requestPaint', - 'unstable_runWithPriority', - 'unstable_scheduleCallback', - 'unstable_shouldYield', - 'unstable_wrapCallback' - ], - optimizationBailout: [ - 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 10:121-141', - 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 11:504-524', - 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 12:312-332', - 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 13:15-35', - 'CommonJS bailout: exports.unstable_shouldYield(...) prevents optimization as exports is passed as call context at 16:106-134', - 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 16:248-268', - 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 19:56-76', - 'Statement (IfStatement) with side effects in source code at 9:25-238', - 'ModuleConcatenation bailout: Module is not an ECMAScript module' - ], - depth: 5 - }, - { - type: 'module', - moduleType: 'javascript/auto', - layer: null, - size: 198, - sizes: { javascript: 198 }, - built: true, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', - name: './node_modules/scheduler/index.js', - nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', - index: 7, - preOrderIndex: 7, - index2: 5, - postOrderIndex: 5, - cacheable: true, - optional: false, - orphan: false, - dependent: true, - issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - issuerName: './node_modules/react-dom/cjs/react-dom.production.min.js', - issuerPath: [ - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - name: './src/entry.js', - id: 138 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - name: './src/routeB.js', - id: 642 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', - name: './node_modules/react-dom/index.js', - id: 935 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - name: './node_modules/react-dom/cjs/react-dom.production.min.js', - id: 448 - } - ], - failed: false, - errors: 0, - warnings: 0, - id: 840, - issuerId: 448, - chunks: ['vendors-node_modules_react-dom_index_js'], - assets: [], - reasons: [ - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - module: './node_modules/react-dom/cjs/react-dom.production.min.js', - moduleName: './node_modules/react-dom/cjs/react-dom.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - resolvedModule: './node_modules/react-dom/cjs/react-dom.production.min.js', - type: 'cjs require', - active: true, - explanation: '', - userRequest: 'scheduler', - loc: '12:66-86', - moduleId: 448, - resolvedModuleId: 448 - } - ], - usedExports: true, - providedExports: [ - 'unstable_IdlePriority', - 'unstable_ImmediatePriority', - 'unstable_LowPriority', - 'unstable_NormalPriority', - 'unstable_Profiling', - 'unstable_UserBlockingPriority', - 'unstable_cancelCallback', - 'unstable_continueExecution', - 'unstable_forceFrameRate', - 'unstable_getCurrentPriorityLevel', - 'unstable_getFirstCallbackNode', - 'unstable_next', - 'unstable_now', - 'unstable_pauseExecution', - 'unstable_requestPaint', - 'unstable_runWithPriority', - 'unstable_scheduleCallback', - 'unstable_shouldYield', - 'unstable_wrapCallback' - ], - optimizationBailout: [ - 'Statement (ExpressionStatement) with side effects in source code at 4:2-64', - 'ModuleConcatenation bailout: Module is not an ECMAScript module' - ], - depth: 4 - } - ], - origins: [ - { - module: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - moduleName: './src/entry.js', - loc: '1:0-51', - request: './routeA', - moduleId: 138 - }, - { - module: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - moduleName: './src/entry.js', - loc: '2:0-51', - request: './routeB', - moduleId: 138 - } - ] + id: 'vendors-node_modules_react-dom_index_js' } ], modules: [ { - type: 'module', - moduleType: 'javascript/auto', - layer: null, - size: 103, - sizes: { javascript: 103 }, - built: true, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - name: './src/entry.js', - nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - index: 0, - preOrderIndex: 0, - index2: 0, - postOrderIndex: 0, - cacheable: true, - optional: false, - orphan: false, - issuer: null, - issuerName: null, - issuerPath: null, - failed: false, - errors: 0, - warnings: 0, id: 138, - issuerId: null, - chunks: ['main'], - assets: [], - reasons: [ - { - moduleIdentifier: null, - module: null, - moduleName: null, - resolvedModuleIdentifier: null, - resolvedModule: null, - type: 'entry', - active: true, - explanation: '', - userRequest: './src/entry.js', - loc: 'main', - moduleId: null, - resolvedModuleId: null - } - ], - usedExports: [], - providedExports: null, - optimizationBailout: [ - 'Statement (ExpressionStatement) with side effects in source code at 1:0-51', - 'ModuleConcatenation bailout: Module is not an ECMAScript module' - ], - depth: 0 + name: './src/entry.js', + chunks: ['main'] }, { - type: 'module', - moduleType: 'javascript/auto', - layer: null, - size: 78, - sizes: { javascript: 78 }, - built: true, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', - name: './src/routeA.js', - nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', - index: 1, - preOrderIndex: 1, - index2: 8, - postOrderIndex: 8, - cacheable: true, - optional: false, - orphan: false, - issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - issuerName: './src/entry.js', - issuerPath: [ - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - name: './src/entry.js', - id: 138 - } - ], - failed: false, - errors: 0, - warnings: 0, id: 3, - issuerId: 138, - chunks: ['routeA'], - assets: [], - reasons: [ - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - module: './src/entry.js', - moduleName: './src/entry.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - resolvedModule: './src/entry.js', - type: 'import()', - active: true, - explanation: '', - userRequest: './routeA', - loc: '1:0-51', - moduleId: 138, - resolvedModuleId: 138 - } - ], - usedExports: true, - providedExports: [], - optimizationBailout: [ - 'Dependency (harmony side effect evaluation) with side effects at 1:0-26', - 'ModuleConcatenation bailout: Cannot concat with ./node_modules/react-dom/index.js: Module is not an ECMAScript module', - 'ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js: Module is not an ECMAScript module' - ], - depth: 1 + name: './src/routeA.js', + chunks: ['routeA'] }, { - type: 'module', - moduleType: 'javascript/auto', - layer: null, - size: 78, - sizes: { javascript: 78 }, - built: true, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - name: './src/routeB.js', - nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - index: 9, - preOrderIndex: 9, - index2: 9, - postOrderIndex: 9, - cacheable: true, - optional: false, - orphan: false, - issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - issuerName: './src/entry.js', - issuerPath: [ - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - name: './src/entry.js', - id: 138 - } - ], - failed: false, - errors: 0, - warnings: 0, id: 642, - issuerId: 138, - chunks: ['routeB'], - assets: [], - reasons: [ - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - module: './src/entry.js', - moduleName: './src/entry.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - resolvedModule: './src/entry.js', - type: 'import()', - active: true, - explanation: '', - userRequest: './routeB', - loc: '2:0-51', - moduleId: 138, - resolvedModuleId: 138 - } - ], - usedExports: true, - providedExports: [], - optimizationBailout: [ - 'Dependency (harmony side effect evaluation) with side effects at 1:0-26', - 'ModuleConcatenation bailout: Cannot concat with ./node_modules/react-dom/index.js: Module is not an ECMAScript module', - 'ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js: Module is not an ECMAScript module' - ], - depth: 1 + name: './src/routeB.js', + chunks: ['routeB'] }, { - type: 'module', - moduleType: 'javascript/auto', - layer: null, - size: 190, - sizes: { javascript: 190 }, - built: true, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', - name: './node_modules/react/index.js', - nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', - index: 2, - preOrderIndex: 2, - index2: 3, - postOrderIndex: 3, - cacheable: true, - optional: false, - orphan: false, - issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - issuerName: './src/routeB.js', - issuerPath: [ - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - name: './src/entry.js', - id: 138 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - name: './src/routeB.js', - id: 642 - } - ], - failed: false, - errors: 0, - warnings: 0, id: 294, - issuerId: 642, - chunks: ['vendors-node_modules_react-dom_index_js'], - assets: [], - reasons: [ - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - module: './node_modules/react-dom/cjs/react-dom.production.min.js', - moduleName: './node_modules/react-dom/cjs/react-dom.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - resolvedModule: './node_modules/react-dom/cjs/react-dom.production.min.js', - type: 'cjs require', - active: true, - explanation: '', - userRequest: 'react', - loc: '12:20-36', - moduleId: 448, - resolvedModuleId: 448 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', - module: './src/routeA.js', - moduleName: './src/routeA.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', - resolvedModule: './src/routeA.js', - type: 'harmony side effect evaluation', - active: true, - explanation: '', - userRequest: 'react', - loc: '1:0-26', - moduleId: 3, - resolvedModuleId: 3 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', - module: './src/routeA.js', - moduleName: './src/routeA.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', - resolvedModule: './src/routeA.js', - type: 'harmony import specifier', - active: true, - explanation: '', - userRequest: 'react', - loc: '3:0-5', - moduleId: 3, - resolvedModuleId: 3 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - module: './src/routeB.js', - moduleName: './src/routeB.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - resolvedModule: './src/routeB.js', - type: 'harmony side effect evaluation', - active: true, - explanation: '', - userRequest: 'react', - loc: '1:0-26', - moduleId: 642, - resolvedModuleId: 642 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - module: './src/routeB.js', - moduleName: './src/routeB.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - resolvedModule: './src/routeB.js', - type: 'harmony import specifier', - active: true, - explanation: '', - userRequest: 'react', - loc: '3:0-5', - moduleId: 642, - resolvedModuleId: 642 - } - ], - usedExports: true, - providedExports: [ - 'Children', - 'Component', - 'Fragment', - 'Profiler', - 'PureComponent', - 'StrictMode', - 'Suspense', - '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED', - 'cloneElement', - 'createContext', - 'createElement', - 'createFactory', - 'createRef', - 'forwardRef', - 'isValidElement', - 'lazy', - 'memo', - 'useCallback', - 'useContext', - 'useDebugValue', - 'useEffect', - 'useImperativeHandle', - 'useLayoutEffect', - 'useMemo', - 'useReducer', - 'useRef', - 'useState', - 'version' - ], - optimizationBailout: [ - 'Statement (ExpressionStatement) with side effects in source code at 4:2-60', - 'ModuleConcatenation bailout: Module is not an ECMAScript module' - ], - depth: 2 + name: './node_modules/react/index.js', + chunks: ['vendors-node_modules_react-dom_index_js'] }, { - type: 'module', - moduleType: 'javascript/auto', - layer: null, - size: 1363, - sizes: { javascript: 1363 }, - built: true, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', - name: './node_modules/react-dom/index.js', - nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', - index: 5, - preOrderIndex: 5, - index2: 7, - postOrderIndex: 7, - cacheable: true, - optional: false, - orphan: false, - issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - issuerName: './src/routeB.js', - issuerPath: [ - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - name: './src/entry.js', - id: 138 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - name: './src/routeB.js', - id: 642 - } - ], - failed: false, - errors: 0, - warnings: 0, id: 935, - issuerId: 642, - chunks: ['vendors-node_modules_react-dom_index_js'], - assets: [], - reasons: [ - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', - module: './src/routeA.js', - moduleName: './src/routeA.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', - resolvedModule: './src/routeA.js', - type: 'harmony side effect evaluation', - active: true, - explanation: '', - userRequest: 'react-dom', - loc: '2:0-33', - moduleId: 3, - resolvedModuleId: 3 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', - module: './src/routeA.js', - moduleName: './src/routeA.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeA.js', - resolvedModule: './src/routeA.js', - type: 'harmony import specifier', - active: true, - explanation: '', - userRequest: 'react-dom', - loc: '4:0-8', - moduleId: 3, - resolvedModuleId: 3 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - module: './src/routeB.js', - moduleName: './src/routeB.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - resolvedModule: './src/routeB.js', - type: 'harmony side effect evaluation', - active: true, - explanation: '', - userRequest: 'react-dom', - loc: '2:0-33', - moduleId: 642, - resolvedModuleId: 642 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - module: './src/routeB.js', - moduleName: './src/routeB.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - resolvedModule: './src/routeB.js', - type: 'harmony import specifier', - active: true, - explanation: '', - userRequest: 'react-dom', - loc: '4:0-8', - moduleId: 642, - resolvedModuleId: 642 - } - ], - usedExports: true, - providedExports: [ - '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED', - 'createPortal', - 'findDOMNode', - 'flushSync', - 'hydrate', - 'render', - 'unmountComponentAtNode', - 'unstable_batchedUpdates', - 'unstable_createPortal', - 'unstable_renderSubtreeIntoContainer', - 'version' - ], - optimizationBailout: [ - 'Statement (ExpressionStatement) with side effects in source code at 34:2-13', - 'ModuleConcatenation bailout: Module is not an ECMAScript module' - ], - depth: 2 + name: './node_modules/react-dom/index.js', + chunks: ['vendors-node_modules_react-dom_index_js'] }, { - type: 'module', - moduleType: 'javascript/auto', - layer: null, - size: 6450, - sizes: { javascript: 6450 }, - built: true, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', - name: './node_modules/react/cjs/react.production.min.js', - nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', - index: 3, - preOrderIndex: 3, - index2: 2, - postOrderIndex: 2, - cacheable: true, - optional: false, - orphan: false, - issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', - issuerName: './node_modules/react/index.js', - issuerPath: [ - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - name: './src/entry.js', - id: 138 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - name: './src/routeB.js', - id: 642 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', - name: './node_modules/react/index.js', - id: 294 - } - ], - failed: false, - errors: 0, - warnings: 0, id: 408, - issuerId: 294, - chunks: ['vendors-node_modules_react-dom_index_js'], - assets: [], - reasons: [ - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', - module: './node_modules/react/index.js', - moduleName: './node_modules/react/index.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', - resolvedModule: './node_modules/react/index.js', - type: 'cjs export require', - active: true, - explanation: '', - userRequest: './cjs/react.production.min.js', - loc: '4:2-59', - moduleId: 294, - resolvedModuleId: 294 - } - ], - usedExports: true, - providedExports: [ - 'Children', - 'Component', - 'Fragment', - 'Profiler', - 'PureComponent', - 'StrictMode', - 'Suspense', - '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED', - 'cloneElement', - 'createContext', - 'createElement', - 'createFactory', - 'createRef', - 'forwardRef', - 'isValidElement', - 'lazy', - 'memo', - 'useCallback', - 'useContext', - 'useDebugValue', - 'useEffect', - 'useImperativeHandle', - 'useLayoutEffect', - 'useMemo', - 'useReducer', - 'useRef', - 'useState', - 'version' - ], - optimizationBailout: [ - 'Statement (VariableDeclaration) with side effects in source code at 9:13-60', - 'ModuleConcatenation bailout: Module is not an ECMAScript module' - ], - depth: 3 + name: './node_modules/react/cjs/react.production.min.js', + chunks: ['vendors-node_modules_react-dom_index_js'] }, { - type: 'module', - moduleType: 'javascript/auto', - layer: null, - size: 120688, - sizes: { javascript: 120688 }, - built: true, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - name: './node_modules/react-dom/cjs/react-dom.production.min.js', - nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - index: 6, - preOrderIndex: 6, - index2: 6, - postOrderIndex: 6, - cacheable: true, - optional: false, - orphan: false, - issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', - issuerName: './node_modules/react-dom/index.js', - issuerPath: [ - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - name: './src/entry.js', - id: 138 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - name: './src/routeB.js', - id: 642 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', - name: './node_modules/react-dom/index.js', - id: 935 - } - ], - failed: false, - errors: 0, - warnings: 0, id: 448, - issuerId: 935, - chunks: ['vendors-node_modules_react-dom_index_js'], - assets: [], - reasons: [ - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', - module: './node_modules/react-dom/index.js', - moduleName: './node_modules/react-dom/index.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', - resolvedModule: './node_modules/react-dom/index.js', - type: 'cjs export require', - active: true, - explanation: '', - userRequest: './cjs/react-dom.production.min.js', - loc: '35:2-63', - moduleId: 935, - resolvedModuleId: 935 - } - ], - usedExports: true, - providedExports: [ - '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED', - 'createPortal', - 'findDOMNode', - 'flushSync', - 'hydrate', - 'render', - 'unmountComponentAtNode', - 'unstable_batchedUpdates', - 'unstable_createPortal', - 'unstable_renderSubtreeIntoContainer', - 'version' - ], - optimizationBailout: [ - 'Statement (VariableDeclaration) with side effects in source code at 12:13-87', - 'ModuleConcatenation bailout: Module is not an ECMAScript module' - ], - depth: 3 + name: './node_modules/react-dom/cjs/react-dom.production.min.js', + chunks: ['vendors-node_modules_react-dom_index_js'] }, { - type: 'module', - moduleType: 'javascript/auto', - layer: null, - size: 2108, - sizes: { javascript: 2108 }, - built: true, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/object-assign/index.js', - name: './node_modules/object-assign/index.js', - nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/object-assign/index.js', - index: 4, - preOrderIndex: 4, - index2: 1, - postOrderIndex: 1, - cacheable: true, - optional: false, - orphan: false, - issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', - issuerName: './node_modules/react/cjs/react.production.min.js', - issuerPath: [ - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - name: './src/entry.js', - id: 138 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - name: './src/routeB.js', - id: 642 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/index.js', - name: './node_modules/react/index.js', - id: 294 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', - name: './node_modules/react/cjs/react.production.min.js', - id: 408 - } - ], - failed: false, - errors: 0, - warnings: 0, id: 418, - issuerId: 408, - chunks: ['vendors-node_modules_react-dom_index_js'], - assets: [], - reasons: [ - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/object-assign/index.js', - module: './node_modules/object-assign/index.js', - moduleName: './node_modules/object-assign/index.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/object-assign/index.js', - resolvedModule: './node_modules/object-assign/index.js', - type: 'cjs self exports reference', - active: true, - explanation: '', - userRequest: null, - loc: '65:0-14', - moduleId: 418, - resolvedModuleId: 418 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - module: './node_modules/react-dom/cjs/react-dom.production.min.js', - moduleName: './node_modules/react-dom/cjs/react-dom.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - resolvedModule: './node_modules/react-dom/cjs/react-dom.production.min.js', - type: 'cjs require', - active: true, - explanation: '', - userRequest: 'object-assign', - loc: '12:39-63', - moduleId: 448, - resolvedModuleId: 448 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', - module: './node_modules/react/cjs/react.production.min.js', - moduleName: './node_modules/react/cjs/react.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react/cjs/react.production.min.js', - resolvedModule: './node_modules/react/cjs/react.production.min.js', - type: 'cjs require', - active: true, - explanation: '', - userRequest: 'object-assign', - loc: '9:19-43', - moduleId: 408, - resolvedModuleId: 408 - } - ], - usedExports: null, - providedExports: null, - optimizationBailout: [ - 'CommonJS bailout: module.exports is used directly at 65:0-14', - 'Statement (VariableDeclaration) with side effects in source code at 9:0-57', - 'ModuleConcatenation bailout: Module is not an ECMAScript module' - ], - depth: 4 + name: './node_modules/object-assign/index.js', + chunks: ['vendors-node_modules_react-dom_index_js'] }, { - type: 'module', - moduleType: 'javascript/auto', - layer: null, - size: 198, - sizes: { javascript: 198 }, - built: true, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', - name: './node_modules/scheduler/index.js', - nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', - index: 7, - preOrderIndex: 7, - index2: 5, - postOrderIndex: 5, - cacheable: true, - optional: false, - orphan: false, - issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - issuerName: './node_modules/react-dom/cjs/react-dom.production.min.js', - issuerPath: [ - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - name: './src/entry.js', - id: 138 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - name: './src/routeB.js', - id: 642 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', - name: './node_modules/react-dom/index.js', - id: 935 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - name: './node_modules/react-dom/cjs/react-dom.production.min.js', - id: 448 - } - ], - failed: false, - errors: 0, - warnings: 0, id: 840, - issuerId: 448, - chunks: ['vendors-node_modules_react-dom_index_js'], - assets: [], - reasons: [ - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - module: './node_modules/react-dom/cjs/react-dom.production.min.js', - moduleName: './node_modules/react-dom/cjs/react-dom.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - resolvedModule: './node_modules/react-dom/cjs/react-dom.production.min.js', - type: 'cjs require', - active: true, - explanation: '', - userRequest: 'scheduler', - loc: '12:66-86', - moduleId: 448, - resolvedModuleId: 448 - } - ], - usedExports: true, - providedExports: [ - 'unstable_IdlePriority', - 'unstable_ImmediatePriority', - 'unstable_LowPriority', - 'unstable_NormalPriority', - 'unstable_Profiling', - 'unstable_UserBlockingPriority', - 'unstable_cancelCallback', - 'unstable_continueExecution', - 'unstable_forceFrameRate', - 'unstable_getCurrentPriorityLevel', - 'unstable_getFirstCallbackNode', - 'unstable_next', - 'unstable_now', - 'unstable_pauseExecution', - 'unstable_requestPaint', - 'unstable_runWithPriority', - 'unstable_scheduleCallback', - 'unstable_shouldYield', - 'unstable_wrapCallback' - ], - optimizationBailout: [ - 'Statement (ExpressionStatement) with side effects in source code at 4:2-64', - 'ModuleConcatenation bailout: Module is not an ECMAScript module' - ], - depth: 4 + name: './node_modules/scheduler/index.js', + chunks: ['vendors-node_modules_react-dom_index_js'] }, { - type: 'module', - moduleType: 'javascript/auto', - layer: null, - size: 4830, - sizes: { javascript: 4830 }, - built: true, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - name: './node_modules/scheduler/cjs/scheduler.production.min.js', - nameForCondition: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - index: 8, - preOrderIndex: 8, - index2: 4, - postOrderIndex: 4, - cacheable: true, - optional: false, - orphan: false, - issuer: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', - issuerName: './node_modules/scheduler/index.js', - issuerPath: [ - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/entry.js', - name: './src/entry.js', - id: 138 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/src/routeB.js', - name: './src/routeB.js', - id: 642 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/index.js', - name: './node_modules/react-dom/index.js', - id: 935 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/react-dom/cjs/react-dom.production.min.js', - name: './node_modules/react-dom/cjs/react-dom.production.min.js', - id: 448 - }, - { - identifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', - name: './node_modules/scheduler/index.js', - id: 840 - } - ], - failed: false, - errors: 0, - warnings: 0, id: 53, - issuerId: 840, - chunks: ['vendors-node_modules_react-dom_index_js'], - assets: [], - reasons: [ - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - module: './node_modules/scheduler/cjs/scheduler.production.min.js', - moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', - type: 'cjs self exports reference', - active: true, - explanation: '', - userRequest: null, - loc: '10:121-141', - moduleId: 53, - resolvedModuleId: 53 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - module: './node_modules/scheduler/cjs/scheduler.production.min.js', - moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', - type: 'cjs self exports reference', - active: true, - explanation: '', - userRequest: null, - loc: '11:504-524', - moduleId: 53, - resolvedModuleId: 53 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - module: './node_modules/scheduler/cjs/scheduler.production.min.js', - moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', - type: 'cjs self exports reference', - active: true, - explanation: '', - userRequest: null, - loc: '12:312-332', - moduleId: 53, - resolvedModuleId: 53 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - module: './node_modules/scheduler/cjs/scheduler.production.min.js', - moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', - type: 'cjs self exports reference', - active: true, - explanation: '', - userRequest: null, - loc: '13:15-35', - moduleId: 53, - resolvedModuleId: 53 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - module: './node_modules/scheduler/cjs/scheduler.production.min.js', - moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', - type: 'cjs self exports reference', - active: true, - explanation: '', - userRequest: null, - loc: '16:106-134', - moduleId: 53, - resolvedModuleId: 53 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - module: './node_modules/scheduler/cjs/scheduler.production.min.js', - moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', - type: 'cjs self exports reference', - active: true, - explanation: '', - userRequest: null, - loc: '16:248-268', - moduleId: 53, - resolvedModuleId: 53 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - module: './node_modules/scheduler/cjs/scheduler.production.min.js', - moduleName: './node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/cjs/scheduler.production.min.js', - resolvedModule: './node_modules/scheduler/cjs/scheduler.production.min.js', - type: 'cjs self exports reference', - active: true, - explanation: '', - userRequest: null, - loc: '19:56-76', - moduleId: 53, - resolvedModuleId: 53 - }, - { - moduleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', - module: './node_modules/scheduler/index.js', - moduleName: './node_modules/scheduler/index.js', - resolvedModuleIdentifier: '/Users/oliverash/Development/webpack-stats-split-chunks/node_modules/scheduler/index.js', - resolvedModule: './node_modules/scheduler/index.js', - type: 'cjs export require', - active: true, - explanation: '', - userRequest: './cjs/scheduler.production.min.js', - loc: '4:2-63', - moduleId: 840, - resolvedModuleId: 840 - } - ], - usedExports: true, - providedExports: [ - 'unstable_IdlePriority', - 'unstable_ImmediatePriority', - 'unstable_LowPriority', - 'unstable_NormalPriority', - 'unstable_Profiling', - 'unstable_UserBlockingPriority', - 'unstable_cancelCallback', - 'unstable_continueExecution', - 'unstable_forceFrameRate', - 'unstable_getCurrentPriorityLevel', - 'unstable_getFirstCallbackNode', - 'unstable_next', - 'unstable_now', - 'unstable_pauseExecution', - 'unstable_requestPaint', - 'unstable_runWithPriority', - 'unstable_scheduleCallback', - 'unstable_shouldYield', - 'unstable_wrapCallback' - ], - optimizationBailout: [ - 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 10:121-141', - 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 11:504-524', - 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 12:312-332', - 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 13:15-35', - 'CommonJS bailout: exports.unstable_shouldYield(...) prevents optimization as exports is passed as call context at 16:106-134', - 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 16:248-268', - 'CommonJS bailout: exports.unstable_now(...) prevents optimization as exports is passed as call context at 19:56-76', - 'Statement (IfStatement) with side effects in source code at 9:25-238', - 'ModuleConcatenation bailout: Module is not an ECMAScript module' - ], - depth: 5 + name: './node_modules/scheduler/cjs/scheduler.production.min.js', + chunks: ['vendors-node_modules_react-dom_index_js'] }, { - type: 'module', - moduleType: 'runtime', - layer: null, - size: 326, - sizes: { runtime: 326 }, - built: false, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: 'webpack/runtime/ensure chunk', - name: 'webpack/runtime/ensure chunk', - nameForCondition: null, - index: null, - preOrderIndex: null, - index2: null, - postOrderIndex: null, - optional: false, - orphan: false, - failed: false, - errors: 0, - warnings: 0, id: '', - chunks: ['main'], - assets: [], - reasons: [], - usedExports: null, - providedExports: [], - optimizationBailout: [], - depth: null + name: 'webpack/runtime/ensure chunk', + chunks: ['main'] }, { - type: 'module', - moduleType: 'runtime', - layer: null, - size: 167, - sizes: { runtime: 167 }, - built: false, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: 'webpack/runtime/get javascript chunk filename', - name: 'webpack/runtime/get javascript chunk filename', - nameForCondition: null, - index: null, - preOrderIndex: null, - index2: null, - postOrderIndex: null, - optional: false, - orphan: false, - failed: false, - errors: 0, - warnings: 0, id: '', - chunks: ['main'], - assets: [], - reasons: [], - usedExports: null, - providedExports: [], - optimizationBailout: [], - depth: null + name: 'webpack/runtime/get javascript chunk filename', + chunks: ['main'] }, { - type: 'module', - moduleType: 'runtime', - layer: null, - size: 221, - sizes: { runtime: 221 }, - built: false, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: 'webpack/runtime/global', - name: 'webpack/runtime/global', - nameForCondition: null, - index: null, - preOrderIndex: null, - index2: null, - postOrderIndex: null, - optional: false, - orphan: false, - failed: false, - errors: 0, - warnings: 0, id: '', - chunks: ['main'], - assets: [], - reasons: [], - usedExports: null, - providedExports: [], - optimizationBailout: [], - depth: null + name: 'webpack/runtime/global', + chunks: ['main'] }, { - type: 'module', - moduleType: 'runtime', - layer: null, - size: 88, - sizes: { runtime: 88 }, - built: false, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: 'webpack/runtime/hasOwnProperty shorthand', - name: 'webpack/runtime/hasOwnProperty shorthand', - nameForCondition: null, - index: null, - preOrderIndex: null, - index2: null, - postOrderIndex: null, - optional: false, - orphan: false, - failed: false, - errors: 0, - warnings: 0, id: '', - chunks: ['main'], - assets: [], - reasons: [], - usedExports: null, - providedExports: [], - optimizationBailout: [], - depth: null + name: 'webpack/runtime/hasOwnProperty shorthand', + chunks: ['main'] }, { - type: 'module', - moduleType: 'runtime', - layer: null, - size: 3080, - sizes: { runtime: 3080 }, - built: false, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: 'webpack/runtime/jsonp chunk loading', - name: 'webpack/runtime/jsonp chunk loading', - nameForCondition: null, - index: null, - preOrderIndex: null, - index2: null, - postOrderIndex: null, - optional: false, - orphan: false, - failed: false, - errors: 0, - warnings: 0, id: '', - chunks: ['main'], - assets: [], - reasons: [], - usedExports: null, - providedExports: [], - optimizationBailout: [], - depth: null + name: 'webpack/runtime/jsonp chunk loading', + chunks: ['main'] }, { - type: 'module', - moduleType: 'runtime', - layer: null, - size: 1399, - sizes: { runtime: 1399 }, - built: false, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: 'webpack/runtime/load script', - name: 'webpack/runtime/load script', - nameForCondition: null, - index: null, - preOrderIndex: null, - index2: null, - postOrderIndex: null, - optional: false, - orphan: false, - failed: false, - errors: 0, - warnings: 0, id: '', - chunks: ['main'], - assets: [], - reasons: [], - usedExports: null, - providedExports: [], - optimizationBailout: [], - depth: null + name: 'webpack/runtime/load script', + chunks: ['main'] }, { - type: 'module', - moduleType: 'runtime', - layer: null, - size: 274, - sizes: { runtime: 274 }, - built: false, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: 'webpack/runtime/make namespace object', - name: 'webpack/runtime/make namespace object', - nameForCondition: null, - index: null, - preOrderIndex: null, - index2: null, - postOrderIndex: null, - optional: false, - orphan: false, - failed: false, - errors: 0, - warnings: 0, id: '', - chunks: ['main'], - assets: [], - reasons: [], - usedExports: null, - providedExports: [], - optimizationBailout: [], - depth: null + name: 'webpack/runtime/make namespace object', + chunks: ['main'] }, { - type: 'module', - moduleType: 'runtime', - layer: null, - size: 867, - sizes: { runtime: 867 }, - built: false, - codeGenerated: true, - buildTimeExecuted: false, - cached: false, - identifier: 'webpack/runtime/publicPath', - name: 'webpack/runtime/publicPath', - nameForCondition: null, - index: null, - preOrderIndex: null, - index2: null, - postOrderIndex: null, - optional: false, - orphan: false, - failed: false, - errors: 0, - warnings: 0, id: '', - chunks: ['main'], - assets: [], - reasons: [], - usedExports: null, - providedExports: [], - optimizationBailout: [], - depth: null + name: 'webpack/runtime/publicPath', + chunks: ['main'] } ], - entrypoints: { - main: { - name: 'main', - chunks: ['main'], - assets: [{ name: 'main.js', size: 2536 }], - filteredAssets: 0, - assetsSize: 2536, - auxiliaryAssets: [], - filteredAuxiliaryAssets: 0, - auxiliaryAssetsSize: 0, - children: {}, - childAssets: {}, - isOverSizeLimit: false - } - }, namedChunkGroups: { main: { name: 'main', - chunks: ['main'], - assets: [{ name: 'main.js', size: 2536 }], - filteredAssets: 0, - assetsSize: 2536, - auxiliaryAssets: [], - filteredAuxiliaryAssets: 0, - auxiliaryAssetsSize: 0, - children: {}, - childAssets: {}, - isOverSizeLimit: false + chunks: ['main'] }, routeA: { name: 'routeA', - chunks: ['vendors-node_modules_react-dom_index_js', 'routeA'], - assets: [ - { - name: 'vendors-node_modules_react-dom_index_js.js', - size: 129600 - }, - { name: 'routeA.js', size: 110 } - ], - filteredAssets: 0, - assetsSize: 129710, - auxiliaryAssets: [], - filteredAuxiliaryAssets: 0, - auxiliaryAssetsSize: 0, - children: {}, - childAssets: {}, - isOverSizeLimit: false + chunks: ['vendors-node_modules_react-dom_index_js', 'routeA'] }, routeB: { name: 'routeB', - chunks: ['vendors-node_modules_react-dom_index_js', 'routeB'], - assets: [ - { - name: 'vendors-node_modules_react-dom_index_js.js', - size: 129600 - }, - { name: 'routeB.js', size: 112 } - ], - filteredAssets: 0, - assetsSize: 129712, - auxiliaryAssets: [], - filteredAuxiliaryAssets: 0, - auxiliaryAssetsSize: 0, - children: {}, - childAssets: {}, - isOverSizeLimit: false + chunks: ['vendors-node_modules_react-dom_index_js', 'routeB'] } - }, - errors: [], - errorsCount: 0, - warnings: [], - warningsCount: 0, - children: [] + } } export const babelFilePaths = [