From 932fb92acd4787fa29a47a6e2cb6c38934b6e610 Mon Sep 17 00:00:00 2001 From: Matthew Mirande Date: Tue, 13 Feb 2018 11:10:09 -0800 Subject: [PATCH] don't use internal-only path when requiring promise polyfill (#4012) 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"