We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
vitest-dev
sheremet-va
antfu
patak-dev
Learn more about funding links in repositories.
Report abuse
1 parent b8f34eb commit b4c43cdCopy full SHA for b4c43cd
packages/vite-node/src/client.ts
@@ -323,6 +323,9 @@ export class ViteNodeRunner {
323
hotContext ||= this.options.createHotContext?.(this, `/@fs/${fsPath}`)
324
return hotContext
325
},
326
+ set: (value) => {
327
+ hotContext = value
328
+ },
329
})
330
}
331
test/vite-node/src/deps.css
@@ -0,0 +1,3 @@
1
+body {
2
+ margin: 0;
3
+}
test/vite-node/src/deps.ts
@@ -1,3 +1,5 @@
+import './deps.css'
+
// eslint-disable-next-line no-console
4
console.log('deps')
5
0 commit comments