apache / incubator-answer-plugins

The Apache Answer plugins repository.
https://answer.apache.org/plugins
Apache License 2.0
76 stars 48 forks source link

Markdown codehighlight building missing themeStyles #253

Open lutek opened 1 week ago

lutek commented 1 week ago

Got this error on version 1.4.0 when building plugin in docker

#13 99.02 . prepare: .../render_markdown_codehighlight build$ tsc && vite build
#13 101.1 . prepare: .../render_markdown_codehighlight build: vite v4.5.5 building for production...
#13 102.9 . prepare: .../render_markdown_codehighlight build: hooks.ts:22:29 - error TS7016: Could not find a declaration file for module './themeStyles'. '/go/answer_build4215811213/vendor/github.com/apache/incubator-answer/ui/src/plugins/render_markdown_codehighlight/themeStyles.js' implicitly has an 'any' type.
#13 102.9 . prepare: .../render_markdown_codehighlight build: 22 import { themeStyles } from './themeStyles';