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

Dynamically included stylesheets #611

Open
rellafella opened this issue Jan 9, 2025 · 0 comments
Open

Dynamically included stylesheets #611

rellafella opened this issue Jan 9, 2025 · 0 comments

Comments

@rellafella
Copy link

I have a project that use some dynamically included stylesheets from styles that are conditionally included for very page specific components.

I am running into an issue that because the template itself doesn't include this stylesheet with <link rel="stylesheet" ...> but rather it's being inserted via JS (don't worry I understand that this process could do with some improvement).

Even though my critical css is generating correctly, I am left with this warning for each css file that isn't found as a <link rel="stylesheet" ...>
Warning: Missing base path. Consider 'base' option. https://goo.gl/PwvFVb

Related: nystudio107/rollup-plugin-critical#1

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