mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 02:54:11 +08:00
style: fix format
This commit is contained in:
@ -104,7 +104,9 @@ export default function (config: Config, env: IWebpackEnv = _env): Config {
|
|||||||
|
|
||||||
// Add android app components to the bundle to SBG can generate the java classes
|
// Add android app components to the bundle to SBG can generate the java classes
|
||||||
if (platform === 'android') {
|
if (platform === 'android') {
|
||||||
const appComponents = Array.isArray(env.appComponents) ? env.appComponents : env.appComponents && [env.appComponents] || [];
|
const appComponents = Array.isArray(env.appComponents)
|
||||||
|
? env.appComponents
|
||||||
|
: (env.appComponents && [env.appComponents]) || [];
|
||||||
appComponents.push('@nativescript/core/ui/frame');
|
appComponents.push('@nativescript/core/ui/frame');
|
||||||
appComponents.push('@nativescript/core/ui/frame/activity');
|
appComponents.push('@nativescript/core/ui/frame/activity');
|
||||||
appComponents.map((component) => {
|
appComponents.map((component) => {
|
||||||
|
Reference in New Issue
Block a user