File size: 353 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
use turbo_tasks::Vc;
use turbopack_core::{asset::Asset, chunk::ChunkingContext, module::Module, output::OutputAsset};

#[turbo_tasks::value_trait]
pub trait CssEmbed: Module + Asset {
    #[turbo_tasks::function]
    fn embedded_asset(
        self: Vc<Self>,
        chunking_context: Vc<Box<dyn ChunkingContext>>,
    ) -> Vc<Box<dyn OutputAsset>>;
}