Skip to content

Commit

Permalink
fix: fix broken defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jul 31, 2021
1 parent fa9b69c commit ef530a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/node/critical.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ export function getCritters(outDir: string, options: Options = {}): Critters | u
// eslint-disable-next-line no-eval
const CrittersClass = eval('require')('critters') as typeof import('critters').default
return new CrittersClass({
external: true,
inlineFonts: true,
path: outDir,
inlineThreshold: Infinity,
logLevel: 'warn',
external: true,
inlineFonts: true,
preloadFonts: true,
...options,
})
}
Expand Down

0 comments on commit ef530a0

Please sign in to comment.