@c9up/ream-cli-darwin-arm64 0.2.1 → 0.2.2
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/README.md +17 -0
- package/package.json +1 -1
- package/ream +0 -0
package/README.md
CHANGED
|
@@ -63,6 +63,23 @@ cargo build --release
|
|
|
63
63
|
# Binary at target/release/ream
|
|
64
64
|
```
|
|
65
65
|
|
|
66
|
+
## Assets
|
|
67
|
+
|
|
68
|
+
`ream dev` runs the server and whatever builds your assets as one thing, and `ream build` builds the assets before TypeScript. Declare them in `reamrc.ts`:
|
|
69
|
+
|
|
70
|
+
```ts
|
|
71
|
+
export default {
|
|
72
|
+
assets: {
|
|
73
|
+
devServer: { command: 'pnpm', args: ['css:watch'] },
|
|
74
|
+
build: { command: 'pnpm', args: ['css'] },
|
|
75
|
+
},
|
|
76
|
+
}
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Output is line-prefixed per process, and when one stops the other is stopped with it — a Ctrl-C leaves no orphan watcher holding the output file. Without this, an app ends up wiring `concurrently -k` itself.
|
|
80
|
+
|
|
81
|
+
Both keys are optional: with no `assets`, `ream dev` and `ream build` behave exactly as before.
|
|
82
|
+
|
|
66
83
|
## License
|
|
67
84
|
|
|
68
85
|
MIT
|
package/package.json
CHANGED
package/ream
CHANGED
|
Binary file
|