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
{{ message }}
Repository navigation
Commit 866e6a2
Browse filesBrowse the repository at this point in the historyBrowse files
See [Shared configurations](#shared-configurations) for usage and merge rules.
90
+
|[`define.extends()`](#define-extends)| — | — |
99
91
100
92
### `define.app()`\{#define-app}
101
93
@@ -214,6 +206,14 @@ define.staged({
214
206
215
207
Provide a staged configuration through `define.staged()` or a [shared configuration](#shared-configurations). `rs staged` reports an error if neither provides one.
216
208
209
+
### `define.extends()`\{#define-extends}
210
+
211
+
Accepts an array of shared configuration objects and applies their tool settings before merging the project's own `define.*()` configurations.
See [Shared configurations](#shared-configurations) for usage and merge rules.
216
+
217
217
## Shared configurations
218
218
219
219
Use `define.extends()` to share build, test, lint, and formatting settings across projects. A shared configuration is a plain object whose fields accept the same values as the corresponding `define.*()` APIs. In TypeScript, use `RstackConfig` to check its types:
0 commit comments