News for hackers. Stuff that matters.
Re:Multiline strings in JavaScript by ttty on Saturday July 12, 2014 @06:15AM (#8024174)
The first problem I see, is using any build process which will remove all the comments. Therefore your string will become ''. I wonder how to avoid this.
Re:Multiline strings in JavaScript by mofle on Saturday July 12, 2014 @06:22AM (#8024179)
It's mainly intended for use in Node.js, but I've documented how to use it with a minifier for the front-end: https://github.com/sindresorhus/multiline#minification
Re:Multiline strings in JavaScript by criswell on Saturday July 12, 2014 @08:51AM (#8024415)
There's a section on minification here: https://github.com/sindresorhus/multiline#minification