Skip to content

Commit

Permalink
nit: use baseUrl variable
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Dec 28, 2023
1 parent ae57cbd commit fcea268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export default (opts: PluginOptions = {}): Plugin => {
if (paths) {
const pathMappings = resolvePathMappings(
paths,
options.baseUrl ?? dirname(configPath)
baseUrl ?? dirname(configPath)
)
const resolveWithPaths: InternalResolver = async (
viteResolve,
Expand Down

0 comments on commit fcea268

Please sign in to comment.