diff --git a/scripts/netlify-headers.js b/scripts/netlify-headers.js index c99c868bc1..659c99bb1f 100644 --- a/scripts/netlify-headers.js +++ b/scripts/netlify-headers.js @@ -29,7 +29,11 @@ new AssetGraph({root: 'docs/_dist'}) followRelations: {type: 'HtmlAnchor', crossorigin: false} }) .queue(function(assetGraph) { - const assets = assetGraph.findAssets({type: 'Html', isInline: false}); + const assets = assetGraph.findAssets({ + type: 'Html', + isInline: false, + isLoaded: true + }); const headerMap = {};