turbopack_ecmascript_runtime/chunk_suffix.rs
1use turbo_rcstr::RcStr;
2
3#[turbo_tasks::value(shared)]
4pub enum ChunkSuffix {
5 /// No suffix.
6 None,
7 /// A constant suffix to append to chunk URLs.
8 Constant(RcStr),
9 /// Use the query string of the `src` attribute of the current script tag as a suffix for chunk
10 /// loading.
11 FromScriptSrc,
12}