Skip to content

should sourceMappingURL be preserved? #692

@Marzal

Description

@Marzal

Hi, newcomer to minify and CSS in general.

I'm playing with hugo and when using minify I get /*# sourceMappingURL=main.css.map */ removed from the last line.

I'm not sure if minify should treat this line as a especial case and keep it.

Thanks for this great project!

Resources:
https://firefox-source-docs.mozilla.org/devtools-user/debugger/how_to/use_a_source_map/index.html
https://developer.chrome.com/blog/sourcemappingurl-and-sourceurl-syntax-changed
https://sourcemaps.info/spec.html

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