typedoc-plugin-markdown icon indicating copy to clipboard operation
typedoc-plugin-markdown copied to clipboard

Error from plugin does not crash Docusaurus build

Open PatrikTrefil opened this issue 1 year ago • 1 comments

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

  1. Setup the plugin with docusaurus
  2. Do not install dependencies in the TypeScript project
  3. 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.

PatrikTrefil avatar May 10 '23 11:05 PatrikTrefil

Thanks - good point - is fixed in next version.

tgreyuk avatar May 13 '23 22:05 tgreyuk

[email protected]

tgreyuk avatar May 03 '24 19:05 tgreyuk