diff --git a/index.js b/index.js index 62770b4..e3abf97 100644 --- a/index.js +++ b/index.js @@ -113,11 +113,13 @@ module.exports = function (html, styles, options) { }); // build js block to load blocking stylesheets and insert it right before + // exposes async stylesheets as global asyncss array which could be used with onloadCSS noscript.before('\n'); } diff --git a/test/expected/cartoon-absolute-expected.html b/test/expected/cartoon-absolute-expected.html index a30e673..62564df 100644 --- a/test/expected/cartoon-absolute-expected.html +++ b/test/expected/cartoon-absolute-expected.html @@ -301,7 +301,8 @@ ul{ }