Skip to content

Error concatenating files which have (inline) source maps themselves #148

@ryno1234

Description

@ryno1234

I'm attempting to concat my output from Browserify which contains an inline sourcemap. When doing this, I get an error "ENAMETOOLONG". My browserify output has the source map inline. It appears that concat task is attempting to read the source map from my working directory using the raw string found in my compiled browserify source map declaration:

eg:
//# sourceMappingURL=data:application/json;charset:utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjp.....

So the concat task is attempting to read: c:\myproject\data:application/json;charset:utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjp.....

Is this project not intended to use inline source maps?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions