Skip to content

Commit

Permalink
docs(check-syntax): fix sourceMap config example
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Dec 25, 2023
1 parent 32974dd commit e012f29
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions packages/document/docs/en/config/output/source-map.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ export default {
sourceMap: {
js:
process.env.NODE_ENV === 'production'
? // Use a more performant source map format for development
'cheap-module-source-map'
: // Use a high quality source map format for production
'source-map',
? // Use a high quality source map format for production
'source-map'
: // Use a more performant source map format for development
'cheap-module-source-map',
},
},
};
Expand Down
8 changes: 4 additions & 4 deletions packages/document/docs/zh/config/output/source-map.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ export default {
sourceMap: {
js:
process.env.NODE_ENV === 'production'
? // 开发环境使用性能更好的 source map 格式
'cheap-module-source-map'
: // 生产环境使用高质量的 source map 格式
'source-map',
? // 生产环境使用高质量的 source map 格式
'source-map'
: // 开发环境使用性能更好的 source map 格式
'cheap-module-source-map',
},
},
};
Expand Down

0 comments on commit e012f29

Please sign in to comment.