Skip to content

Commit

Permalink
fix: don't override resolver options (#1740)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew0 committed Jan 27, 2021
1 parent 78eb32c commit 73196e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/vite/src/node/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,9 @@ export async function resolveConfig(
dedupe: resolved.dedupe,
isProduction,
isBuild: command === 'build',
asSrc: options?.asSrc || true,
relativeFirst: options?.relativeFirst || false,
tryIndex: options?.tryIndex || true,
asSrc: options?.asSrc ?? true,
relativeFirst: options?.relativeFirst ?? false,
tryIndex: options?.tryIndex ?? true,
extensions: options?.extensions
})
]
Expand Down

0 comments on commit 73196e5

Please sign in to comment.