Split site definitions and generate default collection
This commit is contained in:
parent
3ccdaaf953
commit
40895e05db
10 changed files with 169 additions and 14 deletions
|
|
@ -113,6 +113,13 @@ npm run typecheck
|
|||
npm test
|
||||
```
|
||||
|
||||
The bundled definition collection is generated from `src/content/definitions/collection.json` and the per-site files in `src/content/definitions/sites/`. Regenerate it after changing a site definition, then commit the resulting `default.json`:
|
||||
|
||||
```sh
|
||||
npm run definitions:generate
|
||||
npm run definitions:check
|
||||
```
|
||||
|
||||
Build the browser-specific packages with:
|
||||
|
||||
```sh
|
||||
|
|
|
|||
Loading…
Reference in a new issue