From 881e3f2695bb78f5e3a6c006a84bcf192ad3e717 Mon Sep 17 00:00:00 2001 From: busticated Date: Tue, 13 Feb 2018 09:18:58 -0800 Subject: [PATCH] don't use internal-only path when requiring promise polyfill see: https://github.com/zloirock/core-js/issues/138#issuecomment-161407746 --- packages/gatsby/cache-dir/production-app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby/cache-dir/production-app.js b/packages/gatsby/cache-dir/production-app.js index 3e1a7cb8bbdc7..12864999ba9f8 100644 --- a/packages/gatsby/cache-dir/production-app.js +++ b/packages/gatsby/cache-dir/production-app.js @@ -1,5 +1,5 @@ if (__POLYFILL__) { - require(`core-js/modules/es6.promise`) + require(`core-js/fn/promise`) } import { apiRunner, apiRunnerAsync } from "./api-runner-browser" import React, { createElement } from "react"