We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cdac56 commit c7d6323Copy full SHA for c7d6323
src/index.ts
@@ -260,7 +260,7 @@ export default function solidPlugin(options: Partial<Options> = {}): Plugin {
260
},
261
262
configResolved(config) {
263
- needHmr = config.command === 'serve' && config.mode !== 'production' && (options.hot !== false && !options.refresh.disabled);
+ needHmr = config.command === 'serve' && config.mode !== 'production' && (options.hot !== false && !options.refresh?.disabled);
264
265
266
resolveId(id) {
0 commit comments