3 ms·
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.
by ttty 12y ago
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 12y agoIt'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 https://github.com/sindresorhus/multiline#minification
- criswell 12y agoThere's a section on minification here: https://github.com/sindresorhus/multiline#minification https://github.com/sindresorhus/multiline#minification