From 4c294f9c32d05e06c7fc9d9617167651e8cb85cc Mon Sep 17 00:00:00 2001 From: Andrew McLagan Date: Thu, 14 Jun 2018 10:03:53 +1000 Subject: [PATCH 1/2] Update README.md to include browser support and polyfills docs --- readme.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/readme.md b/readme.md index f975ac3f1b2ba..be0b3ea04e2f1 100644 --- a/readme.md +++ b/readme.md @@ -1408,6 +1408,12 @@ Note: `NODE_ENV` is properly configured by the `next` subcommands, if absent, to Note: we recommend putting `.next`, or your [custom dist folder](https://github.com/zeit/next.js#custom-configuration), in `.gitignore` or `.npmignore`. Otherwise, use `files` or `now.files` to opt-into a whitelist of files you want to deploy, excluding `.next` or your custom dist folder. +## Browser support + +Next.js supports IE11 and all modern browsers out of the box using [`@babel/preset-env`](https://new.babeljs.io/docs/en/next/babel-preset-env.html) without polyfills. In cases where your own code or any external NPM dependencies you are using requires features not supported by your target browsers you will need to implement polyfills. + +The [poly-fills](https://github.com/zeit/next.js/tree/canary/examples/with-polyfills) example demonstrates the recommended approach to implement polyfills. + ## Static HTML export

From fc22eb52f15a2e3f89206de23057386a082459e3 Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Thu, 14 Jun 2018 12:36:46 +0200 Subject: [PATCH 2/2] Remove dash --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index be0b3ea04e2f1..0bd4aa2b5f9b5 100644 --- a/readme.md +++ b/readme.md @@ -1412,7 +1412,7 @@ Note: we recommend putting `.next`, or your [custom dist folder](https://github. Next.js supports IE11 and all modern browsers out of the box using [`@babel/preset-env`](https://new.babeljs.io/docs/en/next/babel-preset-env.html) without polyfills. In cases where your own code or any external NPM dependencies you are using requires features not supported by your target browsers you will need to implement polyfills. -The [poly-fills](https://github.com/zeit/next.js/tree/canary/examples/with-polyfills) example demonstrates the recommended approach to implement polyfills. +The [polyfills](https://github.com/zeit/next.js/tree/canary/examples/with-polyfills) example demonstrates the recommended approach to implement polyfills. ## Static HTML export