Skip to content

Commit

Permalink
chore: change localSharedImportMap_temp file
Browse files Browse the repository at this point in the history
  • Loading branch information
gioboa committed Oct 4, 2024
1 parent 1bd50be commit 2fffa23
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/utils/localSharedImportMap_temp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 2fffa23

Please sign in to comment.