Prevent dev server crash when typedoc output missing

cgen-6f6fb35fcc37456497de52e96b7c2af8
This commit is contained in:
Builder.io 2025-09-17 09:23:04 +00:00
parent dfd2848f76
commit a97df64813

View file

@ -111,7 +111,9 @@ module.exports = {
patterns: [{ from: "./static", to: "./" }], patterns: [{ from: "./static", to: "./" }],
}), }),
new CopyPlugin({ new CopyPlugin({
patterns: [{ from: "./typedoc/dist", to: "./typedoc/" }], patterns: [
{ from: "./typedoc/dist", to: "./typedoc/", noErrorOnMissing: true },
],
}), }),
new CopyPlugin({ new CopyPlugin({
patterns: [ patterns: [