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.
[ Parent
| on HN ]
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
There's a section on minification here: https://github.com/sindresorhus/multiline#minification