mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
chore: move mangler example to minifier (#4343)
``` Error: Circular dependency detected: oxc_codegen -> oxc_mangler ```
This commit is contained in:
parent
fc39ffa009
commit
1f7ec62d44
3 changed files with 1 additions and 11 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
|
@ -1561,14 +1561,10 @@ name = "oxc_mangler"
|
|||
version = "0.20.0"
|
||||
dependencies = [
|
||||
"itertools 0.13.0",
|
||||
"oxc_allocator",
|
||||
"oxc_ast",
|
||||
"oxc_codegen",
|
||||
"oxc_index",
|
||||
"oxc_parser",
|
||||
"oxc_semantic",
|
||||
"oxc_span",
|
||||
"pico-args",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
|
|||
|
|
@ -26,9 +26,3 @@ oxc_ast = { workspace = true }
|
|||
oxc_semantic = { workspace = true }
|
||||
oxc_index = { workspace = true }
|
||||
itertools = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
oxc_allocator = { workspace = true }
|
||||
oxc_parser = { workspace = true }
|
||||
oxc_codegen = { workspace = true }
|
||||
pico-args = { workspace = true }
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ use pico_args::Arguments;
|
|||
|
||||
// Instruction:
|
||||
// create a `test.js`,
|
||||
// run `cargo run -p oxc_mangler --example mangler` or `just example mangler`
|
||||
// run `cargo run -p oxc_minifier --example mangler`
|
||||
|
||||
fn main() -> std::io::Result<()> {
|
||||
let mut args = Arguments::from_env();
|
||||
Loading…
Reference in a new issue