@@ -2,7 +2,7 @@ use std::sync::{Arc, RwLock};
22
33use anyhow:: { Result , bail} ;
44use lightningcss:: {
5- css_modules:: { CssModuleExport , CssModuleExports , Pattern , Segment } ,
5+ css_modules:: { CssModuleExport , Pattern , Segment } ,
66 stylesheet:: { MinifyOptions , ParserOptions , PrinterOptions , StyleSheet , ToCssResult } ,
77 targets:: { BrowserslistConfig , Features , Targets } ,
88 traits:: ToCss ,
@@ -193,27 +193,18 @@ pub enum CssWithPlaceholderResult {
193193 NotFound ,
194194}
195195
196- #[ turbo_tasks:: value( shared, serialization = "none" , eq = "manual" ) ]
196+ #[ turbo_tasks:: value( shared, serialization = "none" ) ]
197197pub enum FinalCssResult {
198198 Ok {
199199 #[ turbo_tasks( trace_ignore) ]
200200 output_code : String ,
201201
202- #[ turbo_tasks( trace_ignore) ]
203- exports : Option < CssModuleExports > ,
204-
205202 source_map : ResolvedVc < OptionStringifiedSourceMap > ,
206203 } ,
207204 Unparsable ,
208205 NotFound ,
209206}
210207
211- impl PartialEq for FinalCssResult {
212- fn eq ( & self , _: & Self ) -> bool {
213- false
214- }
215- }
216-
217208#[ turbo_tasks:: function]
218209pub async fn process_css_with_placeholder (
219210 parse_result : ResolvedVc < ParseCssResult > ,
@@ -327,7 +318,6 @@ pub async fn finalize_css(
327318
328319 Ok ( FinalCssResult :: Ok {
329320 output_code : result. code ,
330- exports : result. exports ,
331321 source_map : ResolvedVc :: cell ( srcmap) ,
332322 }
333323 . cell ( ) )
0 commit comments