From e12c973cf14578b21ce5326a63b1abeee913c967 Mon Sep 17 00:00:00 2001 From: Niklas Mollenhauer Date: Sat, 18 May 2019 13:27:44 +0200 Subject: [PATCH] Update core-js includes (#2007) The path seem to have changed in the latest `core-js` package. https://github.com/zloirock/core-js/tree/master/packages/core-js --- content/docs/reference-javascript-environment-requirements.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/reference-javascript-environment-requirements.md b/content/docs/reference-javascript-environment-requirements.md index 44a36eb9..1eff4e81 100644 --- a/content/docs/reference-javascript-environment-requirements.md +++ b/content/docs/reference-javascript-environment-requirements.md @@ -11,8 +11,8 @@ React 16 depends on the collection types [Map](https://developer.mozilla.org/en- A polyfilled environment for React 16 using core-js to support older browsers might look like: ```js -import 'core-js/es6/map'; -import 'core-js/es6/set'; +import 'core-js/es/map'; +import 'core-js/es/set'; import React from 'react'; import ReactDOM from 'react-dom';