From 6ac2e9f32b1be42a4a3a0f9fc95589db2351ba0e Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Tue, 18 Jul 2023 13:46:21 +0200 Subject: [PATCH] chore: lint code --- src/builder/rollup.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/builder/rollup.ts b/src/builder/rollup.ts index 4a1dd28d..939badbb 100644 --- a/src/builder/rollup.ts +++ b/src/builder/rollup.ts @@ -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; }