A polyfill for the preload link type [rel="preload"]
CC0-1.0 License
Preload Fill is a polyfill for the preload link type.
Visit a CodePen Example of Preload demonstrating asynchronously loaded CSS.
THIS PROJECT IS IN A DRAFT STAGE
<link href="style.non-critical.css" rel="preload" as="style">
Install Preload Fill to your project.
npm install jonathantneal/preloadfill --save-dev
Import Preload Fill within your script.
import 'preloadfill';
Smashing Magazine: Preload: What Is It Good For?
Preload Fill is 558 bytes after being transpiled, minified, and gzipped.