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

Does cq-prolyfill inlined my style? #31

Open
ariona opened this issue Oct 21, 2016 · 1 comment
Open

Does cq-prolyfill inlined my style? #31

ariona opened this issue Oct 21, 2016 · 1 comment
Labels

Comments

@ariona
Copy link

ariona commented Oct 21, 2016

I was wondering why my sourcemaps isn't working, since the style is being inlined in the head but i haven't done that.

Turn out the cq-prolyfill did that, is there any way to still use sourcemap while using cq-prolyfill.

@ausi ausi added the question label Oct 21, 2016
@ausi
Copy link
Owner

ausi commented Oct 21, 2016

Yes, cq-prolyfill has to convert the :container() parts of the CSS so that the browser can parse it. You can prevent that by using the PostCSS plugin or Sass mixin. And you should enable CORS if the stylesheet is loaded from a different domain.

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

No branches or pull requests

2 participants