Merge branch 'immediate-finds' into immediate-finds-modules-proxy
This commit is contained in:
commit
0190ada1a1
|
@ -436,7 +436,7 @@ export function findByFactoryCode<T = AnyObject>(...code: string[] | [...string[
|
||||||
* @returns Unmangled exports as specified in mappers
|
* @returns Unmangled exports as specified in mappers
|
||||||
*/
|
*/
|
||||||
export function mapMangledModule<S extends PropertyKey>(code: string | string[], mappers: Record<S, FilterFn>) {
|
export function mapMangledModule<S extends PropertyKey>(code: string | string[], mappers: Record<S, FilterFn>) {
|
||||||
const mapping = {} as Record<S, ModuleExports>;
|
const mapping = {} as Record<S, ProxyInner<AnyObject>>;
|
||||||
const setters = {} as Record<S, (innerValue: ModuleExports) => void>;
|
const setters = {} as Record<S, (innerValue: ModuleExports) => void>;
|
||||||
|
|
||||||
for (const newName in mappers) {
|
for (const newName in mappers) {
|
||||||
|
|
Loading…
Reference in a new issue