Skip to content

Commit 64a2bc1

Browse files
authored
fix: correct publicpath in build (#3661)
1 parent 0b156f2 commit 64a2bc1

17 files changed

+608
-603
lines changed

.changeset/angry-owls-retire.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@module-federation/sdk': patch
3+
---
4+
5+
feat(sdk): add ssrPublicPath field

.changeset/early-toys-occur.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@module-federation/modern-js': patch
3+
---
4+
5+
fix(modern-js-plugin): correct publicpath in build

packages/modernjs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@
9999
"react-error-boundary": "4.1.2"
100100
},
101101
"devDependencies": {
102+
"@rsbuild/core": "1.2.8",
102103
"@modern-js/app-tools": "2.65.1",
103104
"@modern-js/core": "2.65.1",
104105
"@modern-js/module-tools": "2.65.1",

packages/modernjs/src/cli/utils.spec.ts renamed to packages/modernjs/src/cli/configPlugin.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { it, expect, describe } from 'vitest';
2-
import { patchMFConfig, getIPV4 } from './utils';
2+
import { patchMFConfig } from './configPlugin';
3+
import { getIPV4 } from './utils';
34

45
const mfConfig = {
56
name: 'host',

0 commit comments

Comments
 (0)