3ad55721d1
**Reasons for making this change:**
- it is contained within `node_modules/`, which is already ignored
- the previous versions, which were not in `node_modules/`, did not have
a period at the beginning of the filename
Links to documentation supporting these rule changes:
**Changelog with proof here:**
|
||
---|---|---|
.. | ||
pages | ||
.gitignore | ||
package.json | ||
README.md |
With Polyfills
Next.js supports IE11 and all modern browsers (Edge, Firefox, Chrome, Safari, Opera, et al) with no required configuration. It also adds some polyfills by default.
If your own code or any external npm dependencies require features not supported by your target browsers, you need to add polyfills yourself.
In this case, you should add a top-level import for the specific polyfill you need in your Custom <App>
or the individual component.
Deploy your own
Deploy the example using Vercel or preview live with StackBlitz
How to use
Execute create-next-app
with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example with-polyfills with-polyfills-app
yarn create next-app --example with-polyfills with-polyfills-app
pnpm create next-app --example with-polyfills with-polyfills-app
Deploy it to the cloud with Vercel (Documentation).