diff --git a/packages/gatsby/cache-dir/static-entry.js b/packages/gatsby/cache-dir/static-entry.js index 39e8d9733b614..3884e46673fdc 100644 --- a/packages/gatsby/cache-dir/static-entry.js +++ b/packages/gatsby/cache-dir/static-entry.js @@ -183,21 +183,8 @@ module.exports = (locals, callback) => { ) }) - // Add script loader for page scripts to the head. - // Taken from https://www.html5rocks.com/en/tutorials/speed/script-loading/ - const scriptsString = scripts.map(s => `"${s}"`).join(`,`) - headComponents.push( -