From 7744aa2640cb87f75ee6077f8c807d56400a6c1d Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Wed, 30 Aug 2023 22:35:47 +0200 Subject: [PATCH] Update list of Next.js options in next.rs (#54798) There were a bunch of experimental options landed / removed and I noticed next_config.rs wasn't up to date with those. --- packages/next-swc/crates/next-core/src/next_config.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/next-swc/crates/next-core/src/next_config.rs b/packages/next-swc/crates/next-core/src/next_config.rs index 443f07f6bf3f5..c4e90cca6908d 100644 --- a/packages/next-swc/crates/next-core/src/next_config.rs +++ b/packages/next-swc/crates/next-core/src/next_config.rs @@ -421,35 +421,26 @@ pub struct ExperimentalConfig { cra_compat: Option, disable_optimized_loading: Option, disable_postcss_preset_env: Option, - enable_undici: Option, esm_externals: Option, external_dir: Option, fallback_node_polyfills: Option, - fetch_cache: Option, font_loaders: Option, force_swc_transforms: Option, fully_specified: Option, gzip_size: Option, incremental_cache_handler_path: Option, large_page_data_bytes: Option, - legacy_browsers: Option, manual_client_base_path: Option, middleware_prefetch: Option, - new_next_link_behavior: Option, next_script_workers: Option, optimistic_client_cache: Option, optimize_css: Option, output_file_tracing_ignores: Option>, output_file_tracing_root: Option, - page_env: Option, - profiling: Option, proxy_timeout: Option, - runtime: Option, scroll_restoration: Option, shared_pool: Option, sri: Option, - swc_file_reading: Option, - swc_minify: Option, swc_minify_debug_options: Option, swc_trace_profiling: Option, transpile_packages: Option>,