create-rsc-kit 0.30.31 → 0.30.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/templates.js +6 -1
- package/package.json +1 -1
package/dist/templates.js
CHANGED
|
@@ -117,9 +117,14 @@ export function scripts(o) {
|
|
|
117
117
|
// Into dist/, which is already ignored. Named after the project it
|
|
118
118
|
// landed a 63MB binary in the root of, next to the source, with
|
|
119
119
|
// nothing in .gitignore covering it.
|
|
120
|
+
//
|
|
121
|
+
// compile:binary compiles the output already there, and is what the
|
|
122
|
+
// build marker names: a deploy has just run build, and compile would
|
|
123
|
+
// run it again. compile is the one command for a person.
|
|
120
124
|
...(o.host === 'bun'
|
|
121
125
|
? {
|
|
122
|
-
compile: `${vite} build && bun
|
|
126
|
+
compile: `${vite} build && bun run compile:binary`,
|
|
127
|
+
'compile:binary': 'bun build --compile --splitting .output/server/compile.mjs --outfile dist/app',
|
|
123
128
|
}
|
|
124
129
|
: {}),
|
|
125
130
|
}),
|