Skip to content

Generated sourcemap css comment produces an issue with Safari #283

Open
@unfulvio-godaddy

Description

@unfulvio-godaddy

Currently the plugin generates a sourceMappingURL comment in the output css file like so:

/*# sourceMappingURL=example.min.css.map */

However, notice no spaces between * and # -- this seems to generate an error on Safari until a space is inserted between the two, like so:

/* # sourceMappingURL=example.min.css.map */

I couldn't find an option to enforce this... I am using the latest version of the plugin and the Sass gem... Any ideas?

See also this issue on a project using this for further details:

godaddy-wordpress/wc-plugin-framework#360

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