Skip to content

Commit 265a4fe

Browse files
authored
docs(migration): add bundle size note about strictRequires true (#1706)
1 parent cabb2c3 commit 265a4fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

guide/migration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ Vite 5 のように `style.css` を使い続けたい場合は、代わりに `b
8989
- [`build.minify: 'terser'`](/config/build-options#build-minify) でサポートされる最小の terser のバージョンが 5.4.0 から 5.16.0 に引き上げられました。
9090
- [[#18231] chore(deps): update dependency @rollup/plugin-commonjs to v28](https://github.com/vitejs/vite/pull/18231)
9191
- [`commonjsOptions.strictRequires`](https://github.com/rollup/plugins/blob/master/packages/commonjs/README.md#strictrequires) がデフォルトで `true` になりました(以前は `'auto'`)。
92+
- これはバンドルサイズが大きくなる可能性がありますが、より決定論的なビルド結果をもたらします。
93+
- CommonJS ファイルをエントリーポイントとして指定する場合は、追加の手順が必要になる場合があります。詳細は、[commonjs プラグインのドキュメント](https://github.com/rollup/plugins/blob/master/packages/commonjs/README.md#using-commonjs-files-as-entry-points)を参照してください。
9294
- [[#18243] chore(deps)!: migrate `fast-glob` to `tinyglobby`](https://github.com/vitejs/vite/pull/18243)
9395
- 範囲指定の角括弧(`{01..03}``['01', '02', '03']`)および増分指定の角括弧(`{2..8..2}``['2', '4', '6', '8']`)は、glob 内でサポートされなくなりました。
9496
- [[#18493] refactor!: remove fs.cachedChecks option](https://github.com/vitejs/vite/pull/18493)

0 commit comments

Comments
 (0)