Skip to content

Commit

Permalink
chore: move mangler example to minifier (#4343)
Browse files Browse the repository at this point in the history
```
Error: Circular dependency detected: oxc_codegen -> oxc_mangler
```
  • Loading branch information
Dunqing committed Jul 18, 2024
1 parent fc39ffa commit 1f7ec62
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
4 changes: 0 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions crates/oxc_mangler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1f7ec62

Please sign in to comment.