feat: add strict mode for data building

This commit is contained in:
felix.ruf
2025-03-14 16:08:41 +01:00
committed by Mathias Schopmans
parent c844e6dcbe
commit 3efe7b5b61
3 changed files with 144 additions and 14 deletions

View File

@@ -267,4 +267,5 @@ If you want to change core functionality of the radar, you can clone this reposi
radar's markdown-files, config.json and about.md in the `data` folder. Run `npm run build:data` to
parse the markdown files and create a `data.json` and then run `npm run dev` to start the
development server, which will be available at `http://localhost:3000/techradar` or the path
you specified via `basePath`.
you specified via `basePath`. Run `npm run build:data -- --strict` to break the build process
when encountering errors.