Skip to content

Commit

Permalink
fix: pug support in esm (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
jellyfishgh authored Dec 13, 2022
1 parent 34e28a6 commit b40865f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-utils/src/extractors/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function getDefaultExtractors() {

// auto detect pug
try {
require('pug')
require.resolve('pug')
extractors.push({
extractor: PugExtractor,
extensions: ['vue', 'pug'],
Expand Down

0 comments on commit b40865f

Please sign in to comment.