Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated sourcemap css comment produces an issue with Safari #283

Open
unfulvio-godaddy opened this issue Mar 15, 2024 · 0 comments
Open

Comments

@unfulvio-godaddy
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant