Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ttty
on July 12, 2014
|
parent
|
context
|
favorite
| on:
Multiline strings in JavaScript
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.
mofle
on July 12, 2014
|
next
[–]
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
criswell
on July 12, 2014
|
prev
[–]
There's a section on minification here:
https://github.com/sindresorhus/multiline#minification
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: