addyosmani / addyosmani/critical

Dynamically included stylesheets

Aperta
#611 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
10.3k
Fork
390
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.