Skip to content

Commit c503f9d

Browse files
committed
Update index.ts
1 parent 4990bab commit c503f9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,8 @@ export default function solidPlugin(options: Partial<Options> = {}): Plugin {
338338
plugins: needHmr && !isSsr && !inNodeModules ? [[solidRefresh, {
339339
bundler: 'vite',
340340
fixRender: true,
341-
imports: options.refresh.imports,
342-
granular: options.refresh.granular,
341+
imports: options.refresh?.imports,
342+
granular: options.refresh?.granular,
343343
}]] : [],
344344
ast: false,
345345
sourceMaps: true,

0 commit comments

Comments
 (0)