Skip to content

Commit

Permalink
Update 2020-01-07-mocha-v7.0.0next.js-9.1.7typescript.md
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Jan 7, 2020
1 parent 4f60496 commit bab6c18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Reactを使ったフレームワークであるNext.js 9.1.7がリリースさ

- `whatwg-fetch` and `unfetch`[`fetch()`](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API):
- `object-assign`, `object.assign`, and `core-js/object/assign`[`Object.assign()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign)
- `url` package (Node.js API) → [URL](https://developer.mozilla.org/ja/docs/Web/API/URL)
- `url`(Node.js API) → [URL](https://developer.mozilla.org/ja/docs/Web/API/URL)
- [native-url](https://github.com/GoogleChromeLabs/native-url)を利用

仕組み的には、webpackの`alias`設定で、元々あった`whatwg-fetch`などのpolyfillパッケージを[ビルトインAPIをexportするだけのpolyfill](https://github.com/zeit/next.js/tree/2757826cf75e75ddbcb2d4f57800da2fb0563346/packages/next/build/polyfills)で置換しているようです。
Expand Down

0 comments on commit bab6c18

Please sign in to comment.