diff --git a/crates/oxc_transformer/src/regexp/mod.rs b/crates/oxc_transformer/src/regexp/mod.rs index 2ad1e5e229956..31c3b26a6f343 100644 --- a/crates/oxc_transformer/src/regexp/mod.rs +++ b/crates/oxc_transformer/src/regexp/mod.rs @@ -40,11 +40,8 @@ //! - @babel/plugin-transform-unicode-sets-regex: //! - TC39 Proposal: -mod options; - use std::borrow::Cow; -pub use options::RegExpOptions; use oxc_ast::ast::*; use oxc_diagnostics::Result; use oxc_regular_expression::ast::{ @@ -56,6 +53,9 @@ use oxc_traverse::{Traverse, TraverseCtx}; use crate::context::Ctx; +mod options; +pub use options::RegExpOptions; + pub struct RegExp<'a> { ctx: Ctx<'a>, unsupported_flags: RegExpFlags,