Skip to content

Commit

Permalink
don't use internal-only path when requiring promise polyfill (#4012)
Browse files Browse the repository at this point in the history
  • Loading branch information
busticated authored and KyleAMathews committed Feb 13, 2018
1 parent b75b784 commit 932fb92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby/cache-dir/production-app.js
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 932fb92

Please sign in to comment.