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 4990bab commit c503f9dCopy full SHA for c503f9d
src/index.ts
@@ -338,8 +338,8 @@ export default function solidPlugin(options: Partial<Options> = {}): Plugin {
338
plugins: needHmr && !isSsr && !inNodeModules ? [[solidRefresh, {
339
bundler: 'vite',
340
fixRender: true,
341
- imports: options.refresh.imports,
342
- granular: options.refresh.granular,
+ imports: options.refresh?.imports,
+ granular: options.refresh?.granular,
343
}]] : [],
344
ast: false,
345
sourceMaps: true,
0 commit comments