Skip to content

Commit e5fe8e9

Browse files
authored
Fix the doc on how to use the turbo loader in option-less format (vercel#4045)
### Description As the title says... ### Testing Instructions - [x] Auto label Signed-off-by: Sora Morimoto <sora@morimoto.io>
1 parent 505c4a1 commit e5fe8e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/pages/pack/docs/features/customizing-turbopack.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = {
3838
},
3939
],
4040
// Option-less format
41-
'.mdx': '@mdx-js/loader',
41+
'.mdx': ['@mdx-js/loader'],
4242
},
4343
},
4444
},
@@ -71,7 +71,7 @@ module.exports = {
7171
experimental: {
7272
turbo: {
7373
loaders: {
74-
'.mdx': './my-mdx-loader',
74+
'.mdx': ['./my-mdx-loader'],
7575
},
7676
},
7777
},

0 commit comments

Comments
 (0)