Skip to content

Need a way to specify source filename when using fromString option via API, so source-maps are usable #263

@brenmar

Description

@brenmar

When using the fromString option to minify via the API there is no way to specify the filename to be used in the source-map and it always get's set to "?". There needs to be a fromStringFile (or similar) option added that enables the user to specify the filename of the source that is being passed in via the string so that source-maps can use this in their sources array.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions