addyosmani / addyosmani/critical

Dynamically included stylesheets

Offen
#611 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
10.3k
Forks
390
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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 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
`Warning: Missing base path. Consider 'base' option. https://goo.gl/PwvFVb`

Related: https://github.com/nystudio107/rollup-plugin-critical/issues/1

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.