Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Nov 27, 2023
1 parent 360dfa6 commit 957dcb6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::path::PathBuf;
use anyhow::Result;
use async_trait::async_trait;
use swc_core::{
common::FileName,
common::{comments::NoopComments, FileName},
ecma::{ast::Program, atoms::JsWord, visit::VisitMutWith},
};
use turbo_tasks::{ValueDefault, Vc};
Expand Down Expand Up @@ -95,6 +95,7 @@ impl CustomTransformer for StyledComponentsTransformer {
FileName::Real(PathBuf::from(ctx.file_path_str)),
ctx.file_name_hash,
self.config.clone(),
NoopComments,
));

Ok(())
Expand Down

0 comments on commit 957dcb6

Please sign in to comment.