Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kricsleo committed Jan 26, 2025
1 parent 4efbcdb commit d8f8fb8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/builders/rollup/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const DEFAULT_EXTENSIONS: string[] = [

export function resolveAliases(ctx: BuildContext): Record<string, string> {
const aliases: Record<string, string> = {
...inferAliasesFromTsconfig(ctx),
[ctx.pkg.name!]: ctx.options.rootDir,
...ctx.options.alias,
};
Expand All @@ -45,11 +46,6 @@ export function resolveAliases(ctx: BuildContext): Record<string, string> {
}
}

const tsconfigAliases = inferAliasesFromTsconfig(ctx);
if (tsconfigAliases) {
Object.assign(aliases, tsconfigAliases);
}

return aliases;
}

Expand Down

0 comments on commit d8f8fb8

Please sign in to comment.