From 59d0e7251f91766159d5fba37f36b33250e484bf Mon Sep 17 00:00:00 2001 From: X Date: Tue, 21 Sep 2021 00:23:27 +0800 Subject: [PATCH] Revert "Mark css via `style` tag as dynamic impot" This reverts commit fb4845a366cbc6748674286729411c931cb24f39. --- compiler/src/jsx.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/jsx.rs b/compiler/src/jsx.rs index 04de3ca08..ba6453b19 100644 --- a/compiler/src/jsx.rs +++ b/compiler/src/jsx.rs @@ -151,7 +151,7 @@ impl JSXMagicFold { } let mut resolver = self.resolver.borrow_mut(); - let (resolved_path, fixed_url) = resolver.resolve(href_prop_value, true); + let (resolved_path, fixed_url) = resolver.resolve(href_prop_value, false); resolver.add_extra_import(resolved_path.as_str()); if href_prop_index >= 0 {