sindresorhus / strip-debug

Strip console, alert, and debugger statements from JavaScript code
MIT License
84 stars 15 forks source link

Convert to Babel plugin #20

Closed sindresorhus closed 3 years ago

sindresorhus commented 5 years ago

Issuehunt badges

Rocambole, which this project is built on, is no longer maintained.

Would be best to convert this project to a Babel plugin. Then we also get #11 for free.


IssueHunt Summary #### [notwoods notwoods](https://issuehunt.io/u/notwoods) has been rewarded. ### Backers (Total: $80.00) - [issuehunt issuehunt](https://issuehunt.io/u/issuehunt) ($80.00) ### Submitted pull Requests - [#21 Attempt to convert to babel plugin](https://issuehunt.io/r/sindresorhus/strip-debug/pull/21) - [#24 Convert to Babel plugin and add TypeScript types](https://issuehunt.io/r/sindresorhus/strip-debug/pull/24) --- ### Tips - Checkout the [Issuehunt explorer](https://issuehunt.io/r/sindresorhus/strip-debug/) to discover more funded issues. - Need some help from other developers? [Add your repositories](https://issuehunt.io/r/new) on IssueHunt to raise funds.
IssueHuntBot commented 5 years ago

@issuehuntfest has funded $80.00 to this issue. See it on IssueHunt

alexzherdev commented 5 years ago

It looks like babel-minify contains plugins to remove console and debugger. For alert I found this one although not sure if it'd have to be updated for Babel 7.

sindresorhus commented 4 years ago

If anyone wants to work on this, see the previous attempt and the feedback there: https://github.com/sindresorhus/strip-debug/pull/21 Probably worth just continuing from there.

issuehunt-oss[bot] commented 3 years ago

@sindresorhus has rewarded $72.00 to @notwoods. See it on IssueHunt