File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
packages/vite/src/node/server/environments
playground/rolldown-dev-ssr Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -298,6 +298,8 @@ class RolldownEnvironment extends DevEnvironment {
298
298
// input is no use
299
299
const output = this . result . output [ 0 ]
300
300
const filepath = path . join ( this . outDir , output . fileName )
301
+ // TODO: source map not applied when adding `?t=...`?
302
+ // return import(`${pathToFileURL(filepath)}`)
301
303
return import ( `${ pathToFileURL ( filepath ) } ?t=${ this . buildTimestamp } ` )
302
304
}
303
305
}
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export default defineConfig({
30
30
rolldownDev : {
31
31
hmr : true ,
32
32
reactRefresh : true ,
33
- ssrModuleRunner : true ,
33
+ ssrModuleRunner : ! process . env [ 'NO_MODULE_RUNNER' ] ,
34
34
} ,
35
35
} ,
36
36
plugins : [
You can’t perform that action at this time.
0 commit comments