Skip to content

Commit

Permalink
docs: switch Polyfill.io to Cloudflare hosted version (#1476)
Browse files Browse the repository at this point in the history
* docs: switch Polyfill.io to Cloudflare hosted version

* docs: rename cdnjs link
  • Loading branch information
jay-es authored Jun 26, 2024
1 parent 84f1a67 commit 3f11479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

[`build.target` 設定オプション](/config/build-options.md#build-target) を介してカスタムターゲットを指定することができます。最も低いターゲットは `es2015` です。

Vite はデフォルトでは構文変換のみを扱い **Polyfill をカバーしていない** ことに注意してください。ユーザーのブラウザーの UserAgent 文字列に基づいて Polyfill バンドルを自動生成するサービスの [Polyfill.io](https://polyfill.io/) をチェックしてみてください。
Vite はデフォルトでは構文変換のみを扱い **Polyfill をカバーしていない** ことに注意してください。ユーザーのブラウザーの UserAgent 文字列に基づいて Polyfill バンドルを自動生成する https://cdnjs.cloudflare.com/polyfill/ をチェックしてみてください。

レガシーブラウザーは [@vitejs/plugin-legacy](https://github.com/vitejs/vite/tree/main/packages/plugin-legacy) を介してサポートすることができます。このプラグインはレガシーチャンクとそれに対応する ES 言語機能 Polyfill を自動的に生成します。レガシーチャンクは ESM をネイティブにサポートしていないブラウザーでのみ条件付きで読み込まれます。

Expand Down

0 comments on commit 3f11479

Please sign in to comment.