Skip to content

Commit 99c62ee

Browse files
committed
chore: Remove generateStaticViewConfigs option from bundle command
1 parent 4650a8d commit 99c62ee

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

packages/cli-plugin-metro/src/commands/bundle/buildBundle.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ interface RequestOptions {
2626
minify: boolean;
2727
platform: string | undefined;
2828
unstable_transformProfile: BundleOptions['unstable_transformProfile'];
29-
generateStaticViewConfigs: boolean;
3029
}
3130

3231
async function buildBundle(
@@ -87,7 +86,6 @@ export async function buildBundleWithConfig(
8786
minify: args.minify !== undefined ? args.minify : !args.dev,
8887
platform: args.platform,
8988
unstable_transformProfile: args.unstableTransformProfile as BundleOptions['unstable_transformProfile'],
90-
generateStaticViewConfigs: args.generateStaticViewConfigs,
9189
};
9290
const server = new Server(config);
9391

packages/cli-plugin-metro/src/commands/bundle/bundleCommandLineArgs.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ export interface CommandLineArgs {
2727
sourcemapUseAbsolutePath: boolean;
2828
verbose: boolean;
2929
unstableTransformProfile: string;
30-
generateStaticViewConfigs: boolean;
3130
}
3231

3332
export default [
@@ -124,11 +123,4 @@ export default [
124123
description: 'Path to the CLI configuration file',
125124
parse: (val: string) => path.resolve(val),
126125
},
127-
{
128-
name: '--generate-static-view-configs',
129-
description:
130-
'Generate static view configs for Fabric components. ' +
131-
'If there are no Fabric components in the bundle or Fabric is disabled, this is just no-op.',
132-
default: true,
133-
},
134126
];

0 commit comments

Comments
 (0)