Skip to content

Commit

Permalink
Enable
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jun 10, 2024
1 parent dfe2d57 commit 0f08e58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ pub async fn get_client_module_options_context(
enable_typeof_window_inlining: Some(TypeofWindow::Object),
preset_env_versions: Some(env),
execution_context: Some(execution_context),
tree_shaking_mode: Some(TreeShakingMode::ReexportsOnly),
tree_shaking_mode: Some(TreeShakingMode::ModuleFragments),
enable_postcss_transform,
side_effect_free_packages: next_config.optimize_package_imports().await?.clone_value(),
..Default::default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ pub async fn get_server_module_options_context(
enable_typeof_window_inlining: Some(TypeofWindow::Undefined),
execution_context: Some(execution_context),
use_swc_css,
tree_shaking_mode: Some(TreeShakingMode::ReexportsOnly),
tree_shaking_mode: Some(TreeShakingMode::ModuleFragments),
import_externals: *next_config.import_externals().await?,
ignore_dynamic_requests: true,
side_effect_free_packages: next_config.optimize_package_imports().await?.clone_value(),
Expand Down

0 comments on commit 0f08e58

Please sign in to comment.