- 06 8月, 2020 2 次提交
-
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
- 05 8月, 2020 2 次提交
-
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
- 04 8月, 2020 4 次提交
-
-
由 Tim Neutkens 提交于
-
由 Kristóf Poduszló 提交于
Add missing nomodule polyfills and suggest using features only up to ES2019 for browser compatibility (#15772) These changes aim to resolve most of the concerns raised in #15756. It adds missing polyfills for legacy browsers up until ES2019: - Number.{parseFloat,parseInt} - ~Math.{acosh,asinh,atanh,cbrt,clz32,cosh,expm1,fround,hypot,imul,log10p,log1p,log2,sign,sinh,tanh,trunc}~ _[Removed as these are [not widely used](https://github.com/vercel/next.js/pull/15772#discussion_r463957931)]_ - While these may seem to weigh a lot, they barely add 1 kB to the resulting bundle: <img width="492" alt="gzip: 32 kB vs. 30.9 kB, Brotli: 28.8 kB vs. 27.8 kB" src="https://user-images.githubusercontent.com/14854048/89100961-1376e600-d3fc-11ea-90fd-3e6632b70220.png"> - ~Object.fromEntries~ _[Removed as [it's rarely used in user code](https://github.com/vercel/next.js/pull/15772#discussion_r463984612)]_ Also, the following features are now supported with build-time transforms: - ~`globalThis` (gets transformed into `window` in browser environments)~ _[Removed as it [could break existing applications](https://github.com/vercel/next.js/pull/15772#discussion_r463956269)]_ - `export * as ns from 'module'` The suggested TypeScript library version has been set to ES2018, so the features below become unavailable in type-checked files (they're not evenly supported by module-compatible browsers, either): - Object.fromEntries - String.prototype.matchAll - String.prototype.replaceAll - Promise.any + AggregateError - WeakRef As for the `import.meta` support, [webpack v5 seems to fix that](https://github.com/webpack/webpack/pull/11075), so it should eventually become an issue of the past. --- Fixes #15756
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
- 03 8月, 2020 2 次提交
-
-
由 Tim Neutkens 提交于
- Use latest terser version (still 1 warning in the stable version which is an open PR) - Add emitOnErrors instead of noEmitOnErrors - Added trace-deprecations for Next.js core development
-
由 Joe Haddad 提交于
-
- 01 8月, 2020 1 次提交
-
-
由 Joe Haddad 提交于
-
- 30 7月, 2020 4 次提交
-
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
- 29 7月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
-
- 28 7月, 2020 4 次提交
-
-
由 Tim Neutkens 提交于
-
由 Prateek Bhatnagar 提交于
Co-authored-by: Natcastle <atcastle@gmail.com>
-
由 Tim Neutkens 提交于
-
由 Sebastian Benz 提交于
-
- 27 7月, 2020 4 次提交
-
-
由 Tim Neutkens 提交于
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
- 25 7月, 2020 1 次提交
-
-
由 Tim Neutkens 提交于
Forces all Next.js users to have this patch installed: https://twitter.com/timneutkens/status/1282129714627448832 Huge thanks to @paulmillr and @sokra
🙏
-
- 22 7月, 2020 1 次提交
-
-
由 Joe Haddad 提交于
-
- 21 7月, 2020 2 次提交
-
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
- 20 7月, 2020 3 次提交
-
-
由 Tim Neutkens 提交于
-
由 Bogdan Chadkin 提交于
Co-authored-by: NJoe Haddad <joe.haddad@zeit.co>
-
由 Joe Haddad 提交于
-
- 19 7月, 2020 1 次提交
-
-
由 Joe Haddad 提交于
-
- 17 7月, 2020 1 次提交
-
-
由 Tim Neutkens 提交于
-
- 16 7月, 2020 3 次提交
-
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
由 Tim Neutkens 提交于
Co-authored-by: NJoe Haddad <joe.haddad@zeit.co>
-
- 15 7月, 2020 2 次提交
-
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
- 14 7月, 2020 1 次提交
-
-
由 Joe Haddad 提交于
-
- 09 7月, 2020 1 次提交
-
-
由 Tim Neutkens 提交于
-