We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68a603d commit 0ac290fCopy full SHA for 0ac290f
packages/vite/src/node/server/environments/rolldown.ts
@@ -298,6 +298,8 @@ class RolldownEnvironment extends DevEnvironment {
298
// input is no use
299
const output = this.result.output[0]
300
const filepath = path.join(this.outDir, output.fileName)
301
+ // TODO: source map not applied when adding `?t=...`?
302
+ // return import(`${pathToFileURL(filepath)}`)
303
return import(`${pathToFileURL(filepath)}?t=${this.buildTimestamp}`)
304
}
305
playground/rolldown-dev-ssr/vite.config.ts
@@ -30,7 +30,7 @@ export default defineConfig({
30
rolldownDev: {
31
hmr: true,
32
reactRefresh: true,
33
- ssrModuleRunner: true,
+ ssrModuleRunner: !process.env['NO_MODULE_RUNNER'],
34
},
35
36
plugins: [
0 commit comments