@jesscss/patch-css

Attach stylesheets given an id

Usage no npm install needed!

<script type="module">
  import jesscssPatchCss from 'https://cdn.skypack.dev/@jesscss/patch-css';
</script>

README

patch-css

A small utility module to be loaded in the head of a document, without async or defer, to attach any cached stylesheets in localStorage.

To refresh the cache, run updateSheet for every stylesheet.