typedoc-plugin-markdown
typedoc-plugin-markdown copied to clipboard
Error from plugin does not crash Docusaurus build
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
- 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";
The docusaurus build
returns status code 0.
Thanks - good point - is fixed in next version.