File tree 2 files changed +2
-1
lines changed
packages/vite/src/node/server/environments
playground/rolldown-dev-react/src
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -264,6 +264,7 @@ function patchRuntimePlugin(
264
264
name : 'vite:rolldown-patch-runtime' ,
265
265
renderChunk ( code ) {
266
266
// patch rolldown_runtime to workaround a few things
267
+ // TODO: is there a robust way to inject code specifically to entry or runtime?
267
268
if ( code . includes ( '//#region rolldown:runtime' ) ) {
268
269
// TODO: is this magic string heavy?
269
270
const output = new MagicString ( code )
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export function App() {
17
17
</ button >
18
18
< pre > [virtual] { virtualTest } </ pre >
19
19
< 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 */ }
21
21
< button onClick = { ( ) => throwError ( ) } > stacktrace</ button >
22
22
</ div >
23
23
</ div >
You can’t perform that action at this time.
0 commit comments