Skip to content

Commit 23160ec

Browse files
Merge pull request #2 from ScriptedAlchemy/cursor/module-federation-rsc-build-a6af
Module federation rsc build
2 parents 42c2794 + 494d849 commit 23160ec

267 files changed

Lines changed: 8783 additions & 1357 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/goofy-frogs-pump.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/skip-cd-when-current-dir.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/sunny-years-lie.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@modern-js/builder': patch
3+
---
4+
5+
fix: inlineScripts should not takes the default value when set to false
6+
fix: inlineScripts 设置为false时不应取默认值

.changeset/tidy-parks-swim.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Please refer to the [Modern.js Roadmap](https://github.com/web-infra-dev/modern.
4646
## Examples
4747

4848
Modern.js provides a collection of ready-to-use examples that you can find and use in the [modern-js-examples](https://github.com/web-infra-dev/modern-js-examples) repository.
49+
For the in-repo first-class RSC + Module Federation plugin-first fixture contract (direct exposes map, no fixture runtime helpers), see [`tests/integration/rsc-mf/README.md`](./tests/integration/rsc-mf/README.md).
4950

5051
## Contributing
5152

benchmark/bundle-diff/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modern-js/bundle-diff-benchmark",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"private": true,
55
"scripts": {
66
"dev": "modern dev",
@@ -24,7 +24,7 @@
2424
"@modern-js/tsconfig": "workspace:*",
2525
"@rsdoctor/rspack-plugin": "^1.5.2",
2626
"@types/node": "^20",
27-
"@types/react": "^19.2.13",
27+
"@types/react": "^19.2.14",
2828
"@types/react-dom": "^19.2.3",
2929
"prettier": "~2.8.8",
3030
"rimraf": "^6.1.2",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"@modern-js/tsconfig": "workspace:*",
7272
"@rstest/core": "0.7.9",
7373
"@scripts/build": "workspace:*",
74-
"@types/react": "^19.2.13",
74+
"@types/react": "^19.2.14",
7575
"@types/react-dom": "^19.2.3",
7676
"check-dependency-version-consistency": "4.1.1",
7777
"cross-env": "^7.0.3",

packages/cli/builder/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @modern-js/builder
22

3+
## 3.0.2
4+
5+
### Patch Changes
6+
7+
- dcf43b8: feat: support rspack builtin rsc
8+
feat: 使用 rspack 内置的 rsc 插件
9+
- 28cf50a: fix: should support windows path in server-entry route pattern
10+
fix: route pattern 中应该支持 windows 系统路径
11+
- @modern-js/utils@3.0.2
12+
313
## 3.0.1
414

515
### Patch Changes

packages/cli/builder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modern-js/builder",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"description": "A builder for Modern.js",
55
"repository": {
66
"type": "git",

packages/cli/builder/src/plugins/runtimeChunk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const pluginRuntimeChunk = (
3333
return;
3434
}
3535

36-
if (!config.output.inlineScripts) {
36+
if (config.output.inlineScripts === undefined) {
3737
config.output.inlineScripts = RUNTIME_CHUNK_REGEX;
3838
}
3939
});

0 commit comments

Comments
 (0)