Skip to content

Commit e1e8a10

Browse files
committed
style: fix format
1 parent 0b5393d commit e1e8a10

File tree

1 file changed

+3
-1
lines changed
  • packages/webpack5/src/configuration

1 file changed

+3
-1
lines changed

packages/webpack5/src/configuration/base.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ export default function (config: Config, env: IWebpackEnv = _env): Config {
104104

105105
// Add android app components to the bundle to SBG can generate the java classes
106106
if (platform === 'android') {
107-
const appComponents = Array.isArray(env.appComponents) ? env.appComponents : env.appComponents && [env.appComponents] || [];
107+
const appComponents = Array.isArray(env.appComponents)
108+
? env.appComponents
109+
: (env.appComponents && [env.appComponents]) || [];
108110
appComponents.push('@nativescript/core/ui/frame');
109111
appComponents.push('@nativescript/core/ui/frame/activity');
110112
appComponents.map((component) => {

0 commit comments

Comments
 (0)