File tree Expand file tree Collapse file tree 4 files changed +61
-1
lines changed Expand file tree Collapse file tree 4 files changed +61
-1
lines changed Original file line number Diff line number Diff line change @@ -272,6 +272,10 @@ export default defineConfig({
272272              text : 'v4 からの移行' , 
273273              link : '/guide/migration' , 
274274            } , 
275+             { 
276+               text : '破壊的変更' , 
277+               link : '/changes/' , 
278+             } , 
275279          ] , 
276280        } , 
277281        { 
@@ -339,6 +343,45 @@ export default defineConfig({
339343          ] , 
340344        } , 
341345      ] , 
346+       '/changes/' : [ 
347+         { 
348+           text : '破壊的変更' , 
349+           link : '/changes/' , 
350+         } , 
351+         { 
352+           text : '現在' , 
353+           items : [ ] , 
354+         } , 
355+         { 
356+           text : '将来' , 
357+           items : [ 
358+             { 
359+               text : 'フック内の this.environment' , 
360+               link : '/changes/this-environment-in-hooks' , 
361+             } , 
362+             { 
363+               text : 'HMR hotUpdate プラグインフック' , 
364+               link : '/changes/hotupdate-hook' , 
365+             } , 
366+             { 
367+               text : '環境ごとの API への移行' , 
368+               link : '/changes/per-environment-apis' , 
369+             } , 
370+             { 
371+               text : 'ModuleRunner API を使った SSR' , 
372+               link : '/changes/ssr-using-modulerunner' , 
373+             } , 
374+             { 
375+               text : 'ビルド時の共有プラグイン' , 
376+               link : '/changes/shared-plugins-during-build' , 
377+             } , 
378+           ] , 
379+         } , 
380+         { 
381+           text : '過去' , 
382+           items : [ ] , 
383+         } , 
384+       ] , 
342385    } , 
343386
344387    outline : { 
Original file line number Diff line number Diff line change @@ -192,12 +192,19 @@ CSS コード分割を有効/無効にします。有効にすると、非同期
192192
193193SSR 向けのビルドを生成します。この値は、SSR エントリーを直接指定する文字列か、` true `  にして ` rollupOptions.input `  で SSR エントリーを指定する必要があります。
194194
195+ ## build.emitAssets  
196+ 
197+ -  ** 型:**  ` boolean ` 
198+ -  ** デフォルト:**  ` false ` 
199+ 
200+ クライアント以外のビルド時、静的アセットはクライアントビルドの一部として生成されると仮定されているため、出力されません。このオプションは、フレームワークが他の環境のビルドで静的アセットを強制的に出力することを可能にします。ビルド後のステップでアセットをマージするのはフレームワークの責任です。
201+ 
195202## build.ssrEmitAssets  
196203
197204-  ** 型:**  ` boolean ` 
198205-  ** デフォルト:**  ` false ` 
199206
200- SSR ビルドの間、静的アセットはクライアントビルドの一部として出力されると想定されているため、出力されません。このオプションを使用すると、フレームワークはクライアントと SSR ビルドの両方でアセットを出力することを強制できます。フレームワークは、ビルド後のステップでアセットをマージする責任があります。
207+ SSR ビルドの間、静的アセットはクライアントビルドの一部として出力されると想定されているため、出力されません。このオプションを使用すると、フレームワークはクライアントと SSR ビルドの両方でアセットを出力することを強制できます。フレームワークは、ビルド後のステップでアセットをマージする責任があります。このオプションは Environment API が安定したら  ` build.emitAssets `  に置き換えられます。 
201208
202209## build.minify  
203210
Original file line number Diff line number Diff line change @@ -490,3 +490,12 @@ define: {
490490-  ` 'custom' ` : HTML ミドルウェアを含めない
491491
492492詳細は Vite の [ SSR ガイド] ( /guide/ssr#vite-cli )  参照してください。関連: [ ` server.middlewareMode ` ] ( ./server-options#server-middlewaremode ) 。
493+ 
494+ ## future  
495+ 
496+ -  ** 型:**  ` Record<string, 'warn' | undefined> ` 
497+ -  ** 関連:**  [ 破壊的変更] ( /changes/ ) 
498+ 
499+ Vite の次期メジャーバージョンへのスムーズな移行に備え、将来的な破壊的変更を可能にします。このリストは、新機能の開発に伴い、いつでも更新、追加、削除される可能性があります。
500+ 
501+ 設定可能なオプションの詳細については、[ 破壊的変更] ( /changes/ )  ページを参照してください。
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ vite build [root]
6969|  ` -f, --filter <filter> `         |  デバッグログをフィルタリングする(` string ` )                                                                                       | 
7070|  ` -m, --mode <mode> `             |  env モードを設定する(` string ` )                                                                                            | 
7171|  ` -h, --help `                    |  利用可能な CLI オプションを表示する                                                                                       | 
72+ |  ` --app `                         |  すべての環境をビルドする。` builder.entireApp `  と同じ。(` boolean ` 、実験的機能)                                       | 
7273
7374## その他  
7475
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments