You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add explicit --prod flag for rewatch commands (#8347)
* Add --prod flag to rewatch build, watch, and clean commands
Skip dev-dependencies and dev source folders (type: "dev") when --prod is passed, enabling production builds without dev tooling installed.
Signed-Off-By: Jono Prest <jjprest@gmail.com>
* Add tests
* Run cargo fmt
* Update cli help test
* Update changelog
---------
Signed-off-by: Jono Prest <jjprest@gmail.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,8 @@
21
21
22
22
#### :rocket: New Feature
23
23
24
+
- Rewatch: add `--prod` flag to `build`, `watch`, and `clean` to skip dev-dependencies and dev sources (`"type": "dev"`), enabling builds in environments where dev packages aren't installed (e.g. after `pnpm install --prod`). https://github.com/rescript-lang/rescript/pull/8347
25
+
24
26
#### :bug: Bug fix
25
27
26
28
- Fix partial application generalization for `...`. https://github.com/rescript-lang/rescript/pull/8343
0 commit comments