From 2fffa236427d8bb2d24e9c442d71470722842d30 Mon Sep 17 00:00:00 2001 From: gioboa Date: Sat, 5 Oct 2024 00:53:38 +0200 Subject: [PATCH] chore: change localSharedImportMap_temp file --- src/utils/localSharedImportMap_temp.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/utils/localSharedImportMap_temp.ts b/src/utils/localSharedImportMap_temp.ts index a77242e..0424084 100644 --- a/src/utils/localSharedImportMap_temp.ts +++ b/src/utils/localSharedImportMap_temp.ts @@ -8,12 +8,7 @@ import { packageNameEncode } from './packageNameUtils'; export function getLocalSharedImportMapPath_temp() { const { name } = getNormalizeModuleFederationOptions(); - return path.resolve( - 'node_modules', - '.__mf__temp', - packageNameEncode(name), - 'localSharedImportMap.cjs' - ); + return path.resolve('.__mf__temp', packageNameEncode(name), 'localSharedImportMap'); } export function writeLocalSharedImportMap_temp(content: string) { const localSharedImportMapId = getLocalSharedImportMapPath_temp();