From 9c1898f2c850b7a4414642c75163c572db914ac8 Mon Sep 17 00:00:00 2001 From: Henrik Date: Thu, 8 Jun 2017 19:27:54 +0200 Subject: [PATCH] Allow custom head attributes (#2189) * fix(package): update babel-preset-env to version 1.5.2 * Allow Custom head attributes This PR allows to add static attributes to the `document/head --- server/document.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/document.js b/server/document.js index d327d4c0..bf441f79 100644 --- a/server/document.js +++ b/server/document.js @@ -83,7 +83,7 @@ export class Head extends Component { const { pathname, buildId, assetPrefix, nextExport } = __NEXT_DATA__ const pagePathname = getPagePathname(pathname, nextExport) - return + return {this.getPreloadDynamicChunks()}