This repository was archived by the owner on Mar 19, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
backend-integration/__tests__ Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 "feed" : " ^5.1.0" ,
1515 "gsap" : " ^3.13.0" ,
1616 "markdown-it-image-size" : " ^15.0.1" ,
17- "oxc-minify" : " ^0.99 .0" ,
17+ "oxc-minify" : " ^0.101 .0" ,
1818 "vitepress" : " ^2.0.0-alpha.15" ,
1919 "vitepress-plugin-group-icons" : " ^1.6.5" ,
2020 "vitepress-plugin-llms" : " ^1.9.3" ,
Original file line number Diff line number Diff line change 6464 "picocolors" : " ^1.1.1" ,
6565 "playwright-chromium" : " ^1.57.0" ,
6666 "prettier" : " 3.7.3" ,
67- "rolldown" : " 1.0.0-beta.52 " ,
67+ "rolldown" : " 1.0.0-beta.53 " ,
6868 "rollup" : " ^4.43.0" ,
6969 "simple-git-hooks" : " ^2.13.1" ,
7070 "tsx" : " ^4.21.0" ,
Original file line number Diff line number Diff line change 8282 },
8383 "//" : " READ CONTRIBUTING.md to understand what to put under deps vs. devDeps!" ,
8484 "dependencies" : {
85- "@oxc-project/runtime" : " 0.99 .0" ,
85+ "@oxc-project/runtime" : " 0.101 .0" ,
8686 "fdir" : " ^6.5.0" ,
8787 "lightningcss" : " ^1.30.2" ,
8888 "picomatch" : " ^4.0.3" ,
8989 "postcss" : " ^8.5.6" ,
90- "rolldown" : " 1.0.0-beta.52 " ,
90+ "rolldown" : " 1.0.0-beta.53 " ,
9191 "tinyglobby" : " ^0.2.15"
9292 },
9393 "optionalDependencies" : {
9797 "@babel/parser" : " ^7.28.5" ,
9898 "@jridgewell/remapping" : " ^2.3.5" ,
9999 "@jridgewell/trace-mapping" : " ^0.3.31" ,
100- "@oxc-project/types" : " 0.99 .0" ,
100+ "@oxc-project/types" : " 0.101 .0" ,
101101 "@polka/compression" : " ^1.0.0-next.25" ,
102- "@rolldown/pluginutils" : " 1.0.0-beta.52 " ,
102+ "@rolldown/pluginutils" : " 1.0.0-beta.53 " ,
103103 "@rollup/plugin-alias" : " ^5.1.1" ,
104104 "@rollup/plugin-commonjs" : " ^29.0.0" ,
105105 "@rollup/plugin-dynamic-import-vars" : " 2.1.4" ,
Original file line number Diff line number Diff line change @@ -575,6 +575,7 @@ export function importAnalysisPlugin(config: ResolvedConfig): Plugin {
575575 if ( url !== specifier ) {
576576 let rewriteDone = false
577577 if (
578+ ! depsOptimizer ?. isOptimizedDepFile ( importer ) &&
578579 depsOptimizer ?. isOptimizedDepFile ( resolvedId ) &&
579580 ! optimizedDepChunkRE . test ( resolvedId )
580581 ) {
Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ export function manifestPlugin(config: ResolvedConfig): Plugin {
8282 ? '.vite/manifest.json'
8383 : environment . config . build . manifest
8484
85- const isLegacySet = new Set < string > ( )
8685 const envs : Record < string , Environment > = { }
8786 function getChunkName ( chunk : OutputChunk ) {
8887 return (
@@ -97,27 +96,12 @@ export function manifestPlugin(config: ResolvedConfig): Plugin {
9796 buildStart ( ) {
9897 envs [ environment . name ] = this . environment
9998 } ,
100- ...( config . isOutputOptionsForLegacyChunks
101- ? {
102- generateBundle ( opts ) {
103- const isLegacy =
104- environment . config . isOutputOptionsForLegacyChunks ?.( opts ) ??
105- false
106- if ( isLegacy ) {
107- isLegacySet . add ( environment . name )
108- } else {
109- isLegacySet . delete ( environment . name )
110- }
111- } ,
112- }
113- : { } ) ,
11499 } ,
115100 nativeManifestPlugin ( {
116101 root,
117102 outPath,
118- isLegacy : config . isOutputOptionsForLegacyChunks
119- ? ( ) => isLegacySet . has ( environment . name )
120- : undefined ,
103+ isOutputOptionsForLegacyChunks :
104+ environment . config . isOutputOptionsForLegacyChunks ,
121105 cssEntries ( ) {
122106 return Object . fromEntries (
123107 cssEntriesMap . get ( envs [ environment . name ] ) ! . entries ( ) ,
Original file line number Diff line number Diff line change @@ -57,13 +57,10 @@ describe.runIf(isBuild)('build', () => {
5757 const customNameAssetEntry = manifest [ '../../dir/custom.css' ]
5858 const iconEntrypointEntry = manifest [ 'icon.png' ]
5959 const waterContainerEntry = manifest [ 'water-container.svg' ]
60- expect ( htmlEntry . css . length ) . toEqual ( 2 )
60+ expect ( htmlEntry . css . length ) . toEqual ( 1 )
6161 expect ( htmlEntry . assets . length ) . toEqual ( 1 )
62- expect ( mainTsEntry . imports . length ) . toBeGreaterThanOrEqual ( 1 )
63- const mainTsEntryImported = manifest [ mainTsEntry . imports [ 0 ] ]
64- expect ( mainTsEntryImported ) . toBeDefined ( )
65- expect ( mainTsEntryImported . assets ?. length ?? 0 ) . toBeGreaterThanOrEqual ( 1 )
66- expect ( mainTsEntryImported . assets ) . toContainEqual (
62+ expect ( mainTsEntry . assets ?. length ?? 0 ) . toBeGreaterThanOrEqual ( 1 )
63+ expect ( mainTsEntry . assets ) . toContainEqual (
6764 expect . stringMatching ( / a s s e t s \/ u r l - [ - \w ] { 8 } \. c s s / ) ,
6865 )
6966 expect ( cssAssetEntry ?. file ) . not . toBeUndefined ( )
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ if (!isBuild) {
105105 ],
106106 "version": 3,
107107 },
108- visualization: "https://evanw.github.io/source-map-visualization/#MjYAZXhwb3J0IGNvbnN0IGJhciA9ICJiYXIiOwoxMTUAeyJtYXBwaW5ncyI6IkFBQUEsT0FBTyxNQUFNLE1BQU0iLCJzb3VyY2VzIjpbImJhci50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3QgYmFyID0gJ2JhcidcbiJdLCJ2ZXJzaW9uIjozfQ =="
108+ visualization: "https://evanw.github.io/source-map-visualization/#MjYAZXhwb3J0IGNvbnN0IGJhciA9ICJiYXIiOwoxMTUAeyJtYXBwaW5ncyI6IkFBQUEsT0FBTyxNQUFNLE1BQU0iLCJzb3VyY2VzIjpbImJhci50cyJdLCJ2ZXJzaW9uIjozLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3QgYmFyID0gJ2JhcidcbiJdfQ =="
109109 }
110110 ` )
111111 } )
@@ -134,7 +134,7 @@ if (!isBuild) {
134134 ],
135135 "version": 3,
136136 },
137- visualization: "https://evanw.github.io/source-map-visualization/#MjQ4AC8vIHByZXR0aWVyLWlnbm9yZQppbXBvcnQgX192aXRlX19janNJbXBvcnQwX192aXRlanNfdGVzdEltcG9ydGVlUGtnIGZyb20gIi9ub2RlX21vZHVsZXMvLnZpdGUvZGVwcy9Adml0ZWpzX3Rlc3QtaW1wb3J0ZWUtcGtnLmpzP3Y9MDAwMDAwMDAiOyBjb25zdCBmb28gPSBfX3ZpdGVfX2Nqc0ltcG9ydDBfX3ZpdGVqc190ZXN0SW1wb3J0ZWVQa2dbImZvbyJdOwpjb25zb2xlLmxvZygid2l0aC1tdWx0aWxpbmUtaW1wb3J0IiwgZm9vKTsKMjQ4AHsibWFwcGluZ3MiOiI7QUFDQSxTQUNFLFdBQ0s7QUFFUCxRQUFRLElBQUkseUJBQXlCLElBQUkiLCJzb3VyY2VzIjpbIndpdGgtbXVsdGlsaW5lLWltcG9ydC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBwcmV0dGllci1pZ25vcmVcbmltcG9ydCB7XG4gIGZvb1xufSBmcm9tICdAdml0ZWpzL3Rlc3QtaW1wb3J0ZWUtcGtnJ1xuXG5jb25zb2xlLmxvZygnd2l0aC1tdWx0aWxpbmUtaW1wb3J0JywgZm9vKVxuIl0sInZlcnNpb24iOjN9 "
137+ visualization: "https://evanw.github.io/source-map-visualization/#MjQ4AC8vIHByZXR0aWVyLWlnbm9yZQppbXBvcnQgX192aXRlX19janNJbXBvcnQwX192aXRlanNfdGVzdEltcG9ydGVlUGtnIGZyb20gIi9ub2RlX21vZHVsZXMvLnZpdGUvZGVwcy9Adml0ZWpzX3Rlc3QtaW1wb3J0ZWUtcGtnLmpzP3Y9MDAwMDAwMDAiOyBjb25zdCBmb28gPSBfX3ZpdGVfX2Nqc0ltcG9ydDBfX3ZpdGVqc190ZXN0SW1wb3J0ZWVQa2dbImZvbyJdOwpjb25zb2xlLmxvZygid2l0aC1tdWx0aWxpbmUtaW1wb3J0IiwgZm9vKTsKMjQ4AHsibWFwcGluZ3MiOiI7QUFDQSxTQUNFLFdBQ0s7QUFFUCxRQUFRLElBQUkseUJBQXlCLElBQUkiLCJzb3VyY2VzIjpbIndpdGgtbXVsdGlsaW5lLWltcG9ydC50cyJdLCJ2ZXJzaW9uIjozLCJzb3VyY2VzQ29udGVudCI6WyIvLyBwcmV0dGllci1pZ25vcmVcbmltcG9ydCB7XG4gIGZvb1xufSBmcm9tICdAdml0ZWpzL3Rlc3QtaW1wb3J0ZWUtcGtnJ1xuXG5jb25zb2xlLmxvZygnd2l0aC1tdWx0aWxpbmUtaW1wb3J0JywgZm9vKVxuIl19 "
138138 }
139139 ` )
140140 } )
Original file line number Diff line number Diff line change 1010 "convert-source-map" : " ^2.0.0" ,
1111 "css-color-names" : " ^1.0.1" ,
1212 "kill-port" : " ^1.6.1" ,
13- "rolldown" : " 1.0.0-beta.52 "
13+ "rolldown" : " 1.0.0-beta.53 "
1414 }
1515}
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ describe.runIf(isBuild)('build', () => {
9696 test ( 'inlined code generation' , async ( ) => {
9797 const assetsDir = path . resolve ( testDir , 'dist/es/assets' )
9898 const files = fs . readdirSync ( assetsDir )
99- expect ( files . length ) . toBe ( 42 )
99+ expect ( files . length ) . toBe ( 38 )
100100 const index = files . find ( ( f ) => f . includes ( 'main-module' ) )
101101 const content = fs . readFileSync ( path . resolve ( assetsDir , index ) , 'utf-8' )
102102 const worker = files . find ( ( f ) => f . includes ( 'my-worker' ) )
You can’t perform that action at this time.
0 commit comments