mirror of
https://github.com/swc-project/swc.git
synced 2024-12-27 15:42:51 +03:00
74fd353053
swc_ecma_minifier: - `collapse_vars`: Respect `mutated`. (Closes #2679) - Add a test for https://github.com/vercel/next.js/issues/31084.
12 lines
204 B
Rust
12 lines
204 B
Rust
//! Ensure that wrong macro definitions are catched by swc monorepo.
|
|
|
|
use swc_ecma_visit::Fold;
|
|
|
|
fn drop_console(_: ()) -> impl Fold {
|
|
DropConsole
|
|
}
|
|
|
|
struct DropConsole;
|
|
|
|
impl Fold for DropConsole {}
|