Skip to content

Commit

Permalink
chore: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
ygj6 committed Nov 17, 2021
1 parent 352714c commit d474579
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/playground/define/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
replacementExclude: ['**.md'],
plugins: [
Vue({
include: [/\.vue$/, /\.md$/] // <--
include: [/\.vue$/, /\.md$/]
}),
Markdown()
],
Expand Down
2 changes: 1 addition & 1 deletion packages/vite/src/node/plugins/define.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export function definePlugin(config: ResolvedConfig): Plugin {
}

if (
// exclude css \ static assets \ specified file for performance
// exclude css | static assets | specified file for performance
isCSSRequest(id) ||
config.assetsInclude(id) ||
config.replacementExclude(id)
Expand Down

0 comments on commit d474579

Please sign in to comment.