Skip to content

Commit 6f7cd09

Browse files
committed
Add next config type checking
1 parent 8d5d60a commit 6f7cd09

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

next.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// @ts-check
2+
3+
/**
4+
* @type {import('next').NextConfig}
5+
**/
16
module.exports = {
27
images: {
38
domains: ['rdl.ink'],
@@ -6,7 +11,6 @@ module.exports = {
611
if (!isServer) {
712
config.resolve.fallback.fs = false;
813
}
9-
1014
config.module.rules.push({
1115
test: /\.md|\.mdx$/,
1216
use: 'raw-loader',

0 commit comments

Comments
 (0)