diff --git a/crates/tailwind-parse/Cargo.toml b/crates/tailwind-parse/Cargo.toml index 55a0f85..93c8fe8 100644 --- a/crates/tailwind-parse/Cargo.toml +++ b/crates/tailwind-parse/Cargo.toml @@ -13,9 +13,9 @@ itertools = "0.10.5" nom = "7.1.1" nom_locate = "4.0.0" phf = {version = "0.11.1", features = ["macros"]} -swc-utils = { version = "0.1.0", path = "../swc-utils" } +stailwc-swc-utils = { version = "0.8.0", path = "../swc-utils" } swc_core = {version = "0.40.16", features = ["common"]} -tailwind-config = { version = "0.1.0", path = "../tailwind-config" } +tailwind-config = { version = "0.8.0", path = "../tailwind-config" } tailwind-parse-macro = {version = "0.8.0", path = "../tailwind-parse-macro"} thiserror = "1.0.37" diff --git a/crates/tailwind-parse/src/directive.rs b/crates/tailwind-parse/src/directive.rs index 02de652..d4a44b0 100644 --- a/crates/tailwind-parse/src/directive.rs +++ b/crates/tailwind-parse/src/directive.rs @@ -5,11 +5,11 @@ use nom::{ sequence::terminated, IResult, Parser, }; +use stailwc_swc_utils::merge_literals; use swc_core::{ common::{Span, DUMMY_SP}, ecma::ast::ObjectLit, }; -use swc_utils::merge_literals; use tailwind_config::TailwindConfig; use crate::{Expression, ExpressionConversionError, NomSpan}; diff --git a/crates/tailwind-parse/src/eval/plugin.rs b/crates/tailwind-parse/src/eval/plugin.rs index 1bab80b..5bf4b6f 100644 --- a/crates/tailwind-parse/src/eval/plugin.rs +++ b/crates/tailwind-parse/src/eval/plugin.rs @@ -5,11 +5,11 @@ use crate::{ TextDecoration, TextTransform, Visibility, Whitespace, }; use itertools::Itertools; +use stailwc_swc_utils::{merge_literals, to_lit}; use swc_core::{ common::DUMMY_SP, ecma::ast::{Expr, Ident, KeyValueProp, Lit, ObjectLit, Prop, PropName, PropOrSpread, Str}, }; -use swc_utils::{merge_literals, to_lit}; use tailwind_config::TailwindTheme; macro_rules! lookup_plugin {