Skip to content

Commit c0ef0d0

Browse files
committed
Fix react-ssr bun build script
1 parent 8b748ea commit c0ef0d0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

methods/react-ssr/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-ssr",
33
"scripts": {
4-
"build": "bun build index.jsx --target bun --jsx-runtime classic --outdir dist",
4+
"build": "NODE_ENV=production bun build index.jsx --target bun --minify --outdir dist",
55
"bench": "NODE_ENV=production bun dist/index.js"
66
},
77
"devDependencies": {

result.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
│ 7 │ 'react-ssr-prepass' │ 33.5336242 │ 3.23 │
1313
│ 8 │ 'preact-ssr' │ 34.35481913333333 │ 8.43 │
1414
│ 9 │ 'preact-htm-ssr' │ 43.924679499999996 │ 3.19 │
15-
│ 10 │ 'react-htm-ssr' │ 74.83641236666666 5.3
16-
│ 11 │ 'ejs' │ 124.29295156666663 │ 7.06
17-
│ 12 │ 'vue-ssr' │ 128.560389933333346.41
18-
│ 13 │ 'react-ssr' │ 249.7993206 │ 11.56
15+
│ 10 │ 'react-ssr' │ 57.714682133333337.08
16+
│ 11 │ 'react-htm-ssr' │ 74.83641236666666 │ 5.3
17+
│ 12 │ 'ejs' │ 124.292951566666637.06
18+
│ 13 │ 'vue-ssr' │ 128.56038993333334 │ 6.41
1919
└─────────┴─────────────────────┴────────────────────┴───────┘
2020
```

0 commit comments

Comments
 (0)