File tree Expand file tree Collapse file tree 10 files changed +193
-196
lines changed
__tests__/plugins/fixtures/license Expand file tree Collapse file tree 10 files changed +193
-196
lines changed Original file line number Diff line number Diff line change 1313 "@voidzero-dev/vitepress-theme" : " ^4.3.0" ,
1414 "feed" : " ^5.2.0" ,
1515 "markdown-it-image-size" : " ^15.0.1" ,
16- "oxc-minify" : " ^0.110 .0" ,
16+ "oxc-minify" : " ^0.111 .0" ,
1717 "vitepress" : " ^2.0.0-alpha.15" ,
1818 "vitepress-plugin-group-icons" : " ^1.7.1" ,
1919 "vitepress-plugin-llms" : " ^1.10.0" ,
Original file line number Diff line number Diff line change 6464 "picocolors" : " ^1.1.1" ,
6565 "playwright-chromium" : " ^1.58.0" ,
6666 "prettier" : " 3.8.1" ,
67- "rolldown" : " 1.0.0-rc.1 " ,
67+ "rolldown" : " 1.0.0-rc.2 " ,
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 7373 },
7474 "//" : " READ CONTRIBUTING.md to understand what to put under deps vs. devDeps!" ,
7575 "dependencies" : {
76- "@oxc-project/runtime" : " 0.110 .0" ,
76+ "@oxc-project/runtime" : " 0.111 .0" ,
7777 "fdir" : " ^6.5.0" ,
7878 "lightningcss" : " ^1.31.1" ,
7979 "picomatch" : " ^4.0.3" ,
8080 "postcss" : " ^8.5.6" ,
81- "rolldown" : " 1.0.0-rc.1 " ,
81+ "rolldown" : " 1.0.0-rc.2 " ,
8282 "tinyglobby" : " ^0.2.15"
8383 },
8484 "optionalDependencies" : {
8888 "@babel/parser" : " ^7.28.6" ,
8989 "@jridgewell/remapping" : " ^2.3.5" ,
9090 "@jridgewell/trace-mapping" : " ^0.3.31" ,
91- "@oxc-project/types" : " 0.110 .0" ,
91+ "@oxc-project/types" : " 0.111 .0" ,
9292 "@polka/compression" : " ^1.0.0-next.25" ,
93- "@rolldown/pluginutils" : " 1.0.0-rc.1 " ,
93+ "@rolldown/pluginutils" : " 1.0.0-rc.2 " ,
9494 "@rollup/plugin-alias" : " ^5.1.1" ,
9595 "@rollup/plugin-commonjs" : " ^29.0.0" ,
9696 "@rollup/plugin-dynamic-import-vars" : " 2.1.4" ,
Original file line number Diff line number Diff line change 1+ // Avoid to be inlined completely: https://github.com/rolldown/rolldown/issues/8100
2+ console . log ( )
3+
14export default 'ok'
Original file line number Diff line number Diff line change 1+ // Avoid to be inlined completely: https://github.com/rolldown/rolldown/issues/8100
2+ console . log ( )
3+
14export default 'ok'
Original file line number Diff line number Diff line change @@ -184,12 +184,7 @@ export function dynamicImportVarsPlugin(config: ResolvedConfig): Plugin {
184184 resolver ( id , importer ) {
185185 return resolve ( environment , id , importer )
186186 } ,
187- isV2 :
188- config . nativePluginEnabledLevel >= 2
189- ? {
190- sourcemap : ! ! environment . config . build . sourcemap ,
191- }
192- : undefined ,
187+ sourcemap : ! ! environment . config . build . sourcemap ,
193188 } )
194189 } )
195190 }
Original file line number Diff line number Diff line change @@ -45,13 +45,8 @@ export function importGlobPlugin(config: ResolvedConfig): Plugin {
4545 if ( config . isBundled && config . nativePluginEnabledLevel >= 1 ) {
4646 return nativeImportGlobPlugin ( {
4747 root : config . root ,
48+ sourcemap : ! ! config . build . sourcemap ,
4849 restoreQueryExtension : config . experimental . importGlobRestoreExtension ,
49- isV2 :
50- config . nativePluginEnabledLevel >= 2
51- ? {
52- sourcemap : ! ! config . build . sourcemap ,
53- }
54- : undefined ,
5550 } )
5651 }
5752
Original file line number Diff line number Diff line change @@ -650,6 +650,7 @@ async function generateRuntimeHelpers(
650650 const output = await bundle . generate ( {
651651 format : 'cjs' ,
652652 minify : true ,
653+ generatedCode : { symbols : false } ,
653654 } )
654655 const outputCode = output . output [ 0 ] . code
655656 const exportNames = [ ...outputCode . matchAll ( cjsExportRE ) ] . map ( ( m ) => m [ 1 ] )
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-rc.1 "
13+ "rolldown" : " 1.0.0-rc.2 "
1414 }
1515}
You can’t perform that action at this time.
0 commit comments