Skip to content

Commit 01e8f06

Browse files
Feat react template docs - fix error build on root (#261)
* add documentation adding new documentation for rspack-react in chinese and english * fix integration test * change entry to .ts * fix build error on root * delete unused console * put back error detail * revert app.ts * fix postbuild on react-ssr * delete comment * add new rspack to prevent error template * delete unused code * fix build error react-ssr * add rspack-react * fix postbuild * fix build integration and entry.node postbuild * delete any
1 parent a03838e commit 01e8f06

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

packages/create-esmx/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"@biomejs/biome": "2.3.7",
2727
"@esmx/core": "workspace:*",
2828
"@esmx/rspack": "workspace:*",
29+
"@esmx/rspack-react": "workspace:*",
2930
"@esmx/rspack-vue": "workspace:*",
3031
"@types/minimist": "^1.2.5",
3132
"@types/node": "^24.0.0",

packages/create-esmx/template/react-ssr/src/entry.node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { EsmxOptions } from '@esmx/core';
33

44
export default {
55
modules: {
6-
exports: ['pkg:react']
6+
exports: []
77
},
88
async devApp(esmx) {
99
return import('@esmx/rspack-react').then((m) =>

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)