Skip to content

Commit

Permalink
feat(gatsby): add polyfill chunk to gatsby (#25159)
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet committed Jul 9, 2020
1 parent 66f8856 commit 0b7738c
Show file tree
Hide file tree
Showing 21 changed files with 1,546 additions and 66 deletions.
3 changes: 2 additions & 1 deletion packages/babel-preset-gatsby/package.json
Expand Up @@ -21,7 +21,8 @@
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-macros": "^2.8.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"gatsby-core-utils": "^1.3.11"
"gatsby-core-utils": "^1.3.11",
"gatsby-legacy-polyfills": "^0.0.1"
},
"peerDependencies": {
"@babel/core": "^7.0.0",
Expand Down
Expand Up @@ -22,8 +22,204 @@ Object {
"corejs": 3,
"exclude": Array [
"transform-typeof-symbol",
"transform-regenerator",
"es.symbol",
"es.symbol.async-iterator",
"es.symbol.has-instance",
"es.symbol.is-concat-spreadable",
"es.symbol.iterator",
"es.symbol.match",
"es.symbol.replace",
"es.symbol.search",
"es.symbol.species",
"es.symbol.split",
"es.symbol.to-primitive",
"es.symbol.to-string-tag",
"es.symbol.unscopables",
"es.array.concat",
"es.array.copy-within",
"es.array.every",
"es.array.fill",
"es.array.filter",
"es.array.find",
"es.array.find-index",
"es.array.for-each",
"es.array.from",
"es.array.includes",
"es.array.index-of",
"es.array.is-array",
"es.array.join",
"es.array.last-index-of",
"es.array.map",
"es.array.of",
"es.array.reduce",
"es.array.reduce-right",
"es.array.reverse",
"es.array.slice",
"es.array.some",
"es.array.sort",
"es.array.species",
"es.array.splice",
"es.array-buffer.constructor",
"es.array-buffer.is-view",
"es.array-buffer.slice",
"es.data-view",
"es.date.now",
"es.date.to-iso-string",
"es.date.to-json",
"es.date.to-primitive",
"es.function.bind",
"es.function.has-instance",
"es.function.name",
"es.json.to-string-tag",
"es.map",
"es.math.acosh",
"es.math.asinh",
"es.math.atanh",
"es.math.cbrt",
"es.math.clz32",
"es.math.cosh",
"es.math.expm1",
"es.math.fround",
"es.math.imul",
"es.math.log10",
"es.math.log1p",
"es.math.log2",
"es.math.sign",
"es.math.sinh",
"es.math.tanh",
"es.math.to-string-tag",
"es.math.trunc",
"es.number.constructor",
"es.number.epsilon",
"es.number.is-finite",
"es.number.is-integer",
"es.number.is-nan",
"es.number.is-safe-integer",
"es.number.max-safe-integer",
"es.number.min-safe-integer",
"es.number.parse-float",
"es.number.parse-int",
"es.number.to-fixed",
"es.number.to-precision",
"es.object.assign",
"es.object.create",
"es.object.define-getter",
"es.object.define-properties",
"es.object.define-property",
"es.object.define-setter",
"es.object.entries",
"es.object.freeze",
"es.object.get-own-property-descriptor",
"es.object.get-own-property-descriptors",
"es.object.get-own-property-names",
"es.object.get-prototype-of",
"es.object.is",
"es.object.is-extensible",
"es.object.is-frozen",
"es.object.is-sealed",
"es.object.keys",
"es.object.lookup-getter",
"es.object.lookup-setter",
"es.object.prevent-extensions",
"es.object.seal",
"es.object.set-prototype-of",
"es.object.to-string",
"es.object.values",
"es.parse-float",
"es.parse-int",
"es.reflect.apply",
"es.reflect.construct",
"es.reflect.define-property",
"es.reflect.delete-property",
"es.reflect.get",
"es.reflect.get-own-property-descriptor",
"es.reflect.get-prototype-of",
"es.reflect.has",
"es.reflect.is-extensible",
"es.reflect.own-keys",
"es.reflect.prevent-extensions",
"es.reflect.set",
"es.reflect.set-prototype-of",
"es.regexp.constructor",
"es.regexp.exec",
"es.regexp.flags",
"es.regexp.sticky",
"es.regexp.test",
"es.regexp.to-string",
"es.set",
"es.string.code-point-at",
"es.string.ends-with",
"es.string.from-code-point",
"es.string.includes",
"es.string.iterator",
"es.string.match",
"es.string.pad-end",
"es.string.pad-start",
"es.string.raw",
"es.string.repeat",
"es.string.replace",
"es.string.search",
"es.string.split",
"es.string.starts-with",
"es.string.trim",
"es.string.anchor",
"es.string.big",
"es.string.blink",
"es.string.bold",
"es.string.fixed",
"es.string.fontcolor",
"es.string.fontsize",
"es.string.italics",
"es.string.link",
"es.string.small",
"es.string.strike",
"es.string.sub",
"es.string.sup",
"es.typed-array.float32-array",
"es.typed-array.float64-array",
"es.typed-array.int8-array",
"es.typed-array.int16-array",
"es.typed-array.int32-array",
"es.typed-array.uint8-array",
"es.typed-array.uint8-clamped-array",
"es.typed-array.uint16-array",
"es.typed-array.uint32-array",
"es.typed-array.copy-within",
"es.typed-array.every",
"es.typed-array.fill",
"es.typed-array.filter",
"es.typed-array.find",
"es.typed-array.find-index",
"es.typed-array.for-each",
"es.typed-array.from",
"es.typed-array.includes",
"es.typed-array.index-of",
"es.typed-array.iterator",
"es.typed-array.join",
"es.typed-array.last-index-of",
"es.typed-array.map",
"es.typed-array.of",
"es.typed-array.reduce",
"es.typed-array.reduce-right",
"es.typed-array.reverse",
"es.typed-array.set",
"es.typed-array.slice",
"es.typed-array.some",
"es.typed-array.sort",
"es.typed-array.subarray",
"es.typed-array.to-locale-string",
"es.typed-array.to-string",
"es.weak-map",
"es.weak-set",
"es.object.assign",
"es.array.iterator",
"es.promise",
"es.symbol.description",
"web.*",
],
"modules": false,
"targets": undefined,
"useBuiltIns": "usage",
},
],
Expand Down

0 comments on commit 0b7738c

Please sign in to comment.