addyosmani / addyosmani/critical

Dynamically included stylesheets

Ouverte
#611 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
10.3k
Forks
390
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.