ckeditor / ckbuilder

The development repository of CKBuilder, a command line builder for CKEditor 4.
Other
19 stars 11 forks source link

Add new lines when concatenating files #5

Closed wwalc closed 10 years ago

wwalc commented 10 years ago

When merging files that do not have EOL character at the end there might be a situation where merged files will result in an invalid JavaScript file. We should either detect whether the file has a new line at the end and add it or simply always add a new line at the end when merging JS files (they will be removed during minification anyway).