UglifyJS2 comments are not preserved
gaborbernat opened this issue · comments
:) Any ideas?
Did you read the readme?
Sure, but adding either @preserve or /!* is stripped, I found multiple uglifyjs2 tickets related to this: mishoo/UglifyJS#88
Tests are passing with latest UglifyJS2, so you're probably doing something wrong:
Lines 72 to 84 in 15fb096
Make sure you've read everything here: https://github.com/sindresorhus/multiline#minification
@gaborbernat, could you share your code?
I'll try to make a demo of this next week as the actual source code is
trade mark :)
On Mar 12, 2015 9:16 PM, "Kevin Mårtensson" notifications@github.com
wrote:
@gaborbernat https://github.com/gaborbernat, could you share your code?
—
Reply to this email directly or view it on GitHub
#28 (comment)
.
@gaborbernat Even better, submit a failing test if possible ;)
Oh, you're right, I'll try it :)
On Mar 13, 2015 5:17 PM, "Sindre Sorhus" notifications@github.com wrote:
@gaborbernat https://github.com/gaborbernat Even better, submit a
failing test if possible ;)—
Reply to this email directly or view it on GitHub
#28 (comment)
.