Skip to content

Commit

Permalink
chore: lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jul 18, 2023
1 parent a4296b8 commit 6ac2e9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/builder/rollup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,9 @@ export function getRollupOptions(ctx: BuildContext): RollupOptions {

external(id) {
const pkg = getpkg(id);
const isExplicitExternal = arrayIncludes(ctx.options.externals, pkg) || arrayIncludes(ctx.options.externals, id);
const isExplicitExternal =
arrayIncludes(ctx.options.externals, pkg) ||
arrayIncludes(ctx.options.externals, id);
if (isExplicitExternal) {
return true;
}
Expand Down

0 comments on commit 6ac2e9f

Please sign in to comment.