refactor(examples): pre-parse frontmatter via scripts/examplegen (#9514)

* refactor(examples): pre-parse frontmatter via scripts/examplegen

This removes 2 MB from the slim binary.

Ref: #9380
This commit is contained in:
Mathias Fredriksson
2023-09-04 20:15:29 +03:00
committed by GitHub
parent 6fc1f5276d
commit a1025f92af
9 changed files with 380 additions and 101 deletions
+3
View File
@@ -13,3 +13,6 @@ scripts/apitypings/testdata/**/*.ts
site/e2e/provisionerGenerated.ts
**/pnpm-lock.yaml
# Ignore generated JSON (e.g. examples/examples.gen.json).
**/*.gen.json