Skip to content

keep_fnames: true with morris.js #1423

@mbhr

Description

@mbhr

I've already read the the other issues with keep_fnames, but in my case there is still a problem.

In my project I use uglify-js@2.7.5 and I want to keep the function names. So I set the keep_fnames parameter to true.

Now I want to use morris-data@0.5.1. As this module offers a minified JavaScript file, there functions within are named with single letters. So the output of uglify-js ends up with a file containing a line d(d,e). But the two d's should be different. This leads to an error.

For my project I worked arround with including the unminified morris file. But I don't think uglify-js should work like this.

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