alanshaw / stripify

Browserify transform that strips console.log lines from your code
https://www.npmjs.org/package/stripify
MIT License
35 stars 11 forks source link

Doesn't work with ES6 #8

Closed gmaclennan closed 8 years ago

gmaclennan commented 8 years ago

The latest version of falafel on npm only uses acorn v1.2.2 which does not understand ES6. It trips up on const statements for me. There is an updated acorn in falafel master but it has not yet been published to npm: https://github.com/substack/node-falafel/pull/52

alanshaw commented 8 years ago

Resolved by https://github.com/alanshaw/stripify/commit/4ee458286383688da45e5b6de5469f246e6cddb4