From ec01f7ce8308a637cd9f2429675f96de4da79159 Mon Sep 17 00:00:00 2001 From: Sebastian Werner Date: Mon, 14 Aug 2017 09:11:06 +0200 Subject: [PATCH] feat($export): Exported internal module IDs and chunk names for external usage. --- src/requireUniversalModule.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/requireUniversalModule.js b/src/requireUniversalModule.js index ce755f8..95cd3c4 100644 --- a/src/requireUniversalModule.js +++ b/src/requireUniversalModule.js @@ -25,8 +25,8 @@ export const isServer = typeof window === 'undefined' || IS_TEST declare var __webpack_require__: Function declare var __webpack_modules__: Object -const CHUNK_NAMES = new Set() -const MODULE_IDS = new Set() +export const CHUNK_NAMES = new Set() +export const MODULE_IDS = new Set() export default function requireUniversalModule( universalConfig: Config | ConfigFunc,