GoogleChromeLabs / critters

🦔 A Webpack plugin to inline your critical CSS and lazy-load the rest.
https://npm.im/critters-webpack-plugin
Apache License 2.0
3.44k stars 107 forks source link

fix: retain all attributes from the original link tag #163

Closed alan-agius4 closed 4 months ago

alan-agius4 commented 4 months ago

Before this commit, the generated link tags were missing some attributes, which caused issues when attributes like integrity, nonce, and crossorigin were not applied.

See https://github.com/angular/angular-cli/issues/27881 for more context.