Skip to content

Commit b94e53f

Browse files
committed
Don't show TypeScript errors on dev server overlay
1 parent 5cd693d commit b94e53f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docusaurus-plugin.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,12 @@ module.exports = () => ({
4949
new DefinePlugin({ __LUA_SYNTAX_KIND__: JSON.stringify(LuaSyntaxKind) }),
5050
...(isServer
5151
? []
52-
: [new ForkTsCheckerWebpackPlugin({ typescript: { configFile: resolve("src/tsconfig.json") } })]),
52+
: [
53+
new ForkTsCheckerWebpackPlugin({
54+
logger: { devServer: false },
55+
typescript: { configFile: resolve("src/tsconfig.json") },
56+
}),
57+
]),
5358
],
5459
};
5560
},

0 commit comments

Comments
 (0)