File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -83,8 +83,7 @@ export default defineBuildConfig({
8383 ) ;
8484 } ,
8585 rolldownOutput ( config ) {
86- // config.advancedChunks!.includeDependenciesRecursively = false;
87- config . advancedChunks ! . groups ?. unshift (
86+ config . codeSplitting ! . groups ?. unshift (
8887 {
8988 test : / s r c \/ b u i l d \/ ( p l u g i n s | v i r t u a l | \w + \. t s ) / ,
9089 name : "_build/common" ,
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ export const getRolldownConfig = async (
5656 format : "esm" ,
5757 entryFileNames : "index.mjs" ,
5858 chunkFileNames : ( chunk ) => getChunkName ( chunk , nitro ) ,
59- advancedChunks : {
59+ codeSplitting : {
6060 groups : [ { test : NODE_MODULES_RE , name : ( id ) => libChunkName ( id ) } ] ,
6161 } ,
6262 dir : nitro . options . output . serverDir ,
@@ -74,7 +74,7 @@ export const getRolldownConfig = async (
7474
7575 const outputConfig = config . output as OutputOptions ;
7676 if ( outputConfig . inlineDynamicImports || outputConfig . format === "iife" ) {
77- delete outputConfig . advancedChunks ;
77+ delete outputConfig . codeSplitting ;
7878 }
7979
8080 return config as RolldownOptions ;
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export const getViteRollupConfig = async (
4747 chunkFileNames : ( chunk ) => getChunkName ( chunk , nitro ) ,
4848 ...( ctx . _isRolldown
4949 ? {
50- advancedChunks : {
50+ codeSplitting : {
5151 groups : [
5252 {
5353 test : NODE_MODULES_RE ,
You can’t perform that action at this time.
0 commit comments