tangled
alpha
login
or
join now
notnite.com
/
moonlight
3
fork
atom
this repo has no description
3
fork
atom
overview
issues
pulls
pipelines
spacepack: \i support for lazyLoad
Cynthia Foxwell
1 year ago
9efa2837
88827383
+3
1 changed file
expand all
collapse all
unified
split
packages
core-extensions
src
spacepack
webpackModules
spacepack.ts
+3
packages/core-extensions/src/spacepack/webpackModules/spacepack.ts
···
184
184
},
185
185
186
186
lazyLoad: (find: string | RegExp | (string | RegExp)[], chunk: RegExp, module: RegExp) => {
187
187
+
chunk = processFind(chunk);
188
188
+
module = processFind(module);
189
189
+
187
190
const mod = Array.isArray(find) ? spacepack.findByCode(...find) : spacepack.findByCode(find);
188
191
if (mod.length < 1) {
189
192
logger.warn("lazyLoad: Module find failed", find, chunk, module, new Error().stack!.substring(5));