Skip to content

"Append" breaks if target file ends in comment, like for sourcemapping #173

@distinctdan

Description

@distinctdan

My target file ends in a sourcemapping comment, which causes the "append" option to break because it appends to the comment instead of starting a new line. It looks like this:

//# sourceMappingURL=orbs.js.mapangular.module('orbs').run(['$templateCache', function($templateCache) {

Instead of this:

//# sourceMappingURL=orbs.js.map
angular.module('orbs').run(['$templateCache', function($templateCache) {

I propose making "append" always start on a new line to avoid this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions