Skip to content
This repository has been archived by the owner on Jan 6, 2018. It is now read-only.

Commit

Permalink
Merge pull request #26 from Vijar/patch-1
Browse files Browse the repository at this point in the history
Deprecate strip-loader
  • Loading branch information
redonkulus authored May 15, 2017
2 parents 6393041 + d40b12a commit 048de47
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
># This Project Is Deprecated
>There have been a lot of long standing issues that haven't been addressed and we haven't had the time to dedicate to this library. If I were to restart this project today, it would probably be a codemod script using Facebook's [jscodeshift](https://github.com/facebook/jscodeshift). The regex based approach in this loader only works for very basic use cases.
>The most common use case is when trying to strip `console.log` from your code. You can actually do this without using this loader at all. You can use uglifyjs's `drop_console` option. Here is what that would look like in a webpack plugin:
```
new webpack.optimize.UglifyJsPlugin({
compress: {
drop_console: true
}
})
```



# Strip Loader

[![npm version](https://badge.fury.io/js/strip-loader.svg)](http://badge.fury.io/js/strip-loader)
Expand Down

0 comments on commit 048de47

Please sign in to comment.