Skip to content

Commit

Permalink
fix: json source module compile failed (#1392)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript committed Dec 29, 2022
1 parent c5e6c88 commit daf46fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/features/compile/index.ts
Expand Up @@ -112,6 +112,7 @@ export default (api: IApi) => {
// get raw content for demo source file
memo.module
.rule('dumi-raw')
.type('javascript/auto')
.post()
.resourceQuery(/dumi-raw/)
.use('raw-loader')
Expand Down

0 comments on commit daf46fa

Please sign in to comment.