File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
packages/vite/src/node/server/environments
playground/rolldown-dev-react/src Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -264,6 +264,7 @@ function patchRuntimePlugin(
264264 name : 'vite:rolldown-patch-runtime' ,
265265 renderChunk ( code ) {
266266 // patch rolldown_runtime to workaround a few things
267+ // TODO: is there a robust way to inject code specifically to entry or runtime?
267268 if ( code . includes ( '//#region rolldown:runtime' ) ) {
268269 // TODO: is this magic string heavy?
269270 const output = new MagicString ( code )
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export function App() {
1717 </ button >
1818 < pre > [virtual] { virtualTest } </ pre >
1919 < pre > [alias] { testAlias } </ pre >
20- { /* TODO: app.tsx source map is slightly off? */ }
20+ { /* TODO: slightly broken probably due to patching rolldown:runtime during renderChunk */ }
2121 < button onClick = { ( ) => throwError ( ) } > stacktrace</ button >
2222 </ div >
2323 </ div >
You can’t perform that action at this time.
0 commit comments