Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Sep 5, 2024
1 parent b3c3ddc commit f4e75b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions turbopack/crates/turbopack-ecmascript/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ pub struct EcmascriptOptions {
/// The list of export names that should make tree shaking bail off. This is
/// required because tree shaking can split imports like `export const
/// runtime = 'edge'` as a separate module.
///
/// Currently the analysis of these exports are statically verified by `NextPageStaticInfo`,
/// which is a `CustomTransformer` implementation and we don't have a way to apply it after
/// tree shaking.
pub special_exports: Vc<Vec<RcStr>>,
}

Expand Down

0 comments on commit f4e75b1

Please sign in to comment.