0.1.3 • Published 1 year ago

swc-plugin-remove-console v0.1.3

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

swc plugin remove-console

A swc plugin helps you remove your console.* statement

Notice * now support:

  • log
  • warn
  • error
  • info

Configure

First ensure you've installed swc and swc-plugin-remove-console, then add following these codes in your .swcrc file

{
  "jsc": {
    "experimental": {
      "plugins": [
        [
          "swc-plugin-remove-console",
          {
            "exclude": ["error"] // this config is optional, default is [], you can pass `log`, `warn`, `error`, `info` to exclude some of them
          }
        ]
      ]
    }
  }
}
0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago