Skip to content

Commit

Permalink
fix: enable default provider for resolving
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Apr 10, 2021
1 parent 27349da commit 18ed241
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ async function imageModule (moduleOptions: ModuleOptions) {

options.provider = detectProvider(options.provider)

options[options.provider] = options[options.provider] || {}

const imageOptions: Omit<CreateImageOptions, 'providers'> = pick(options, [
'screens',
'presets',
Expand Down

0 comments on commit 18ed241

Please sign in to comment.