If the generation of the markdown files throws errors, then the whole build is considered to be successful.
Expected behavior
The build should fail.
Steps to reproduce
Setup the plugin with docusaurus
Do not install dependencies in the TypeScript project
docusaurus build
Should get something like this:
../src/web-app/pages/prehled.tsx:7:18 - error TS2307: Cannot find module 'next/head' or its corresponding type declarations.
7 import Head from "next/head";
Observed behavior
If the generation of the markdown files throws errors, then the whole build is considered to be successful.
Expected behavior
The build should fail.
Steps to reproduce
docusaurus build
Should get something like this:
The
docusaurus build
returns status code 0.