Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
lxsmnsyc committed Feb 3, 2024
1 parent 0cdac56 commit c7d6323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export default function solidPlugin(options: Partial<Options> = {}): Plugin {
},

configResolved(config) {
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);
},

resolveId(id) {
Expand Down

0 comments on commit c7d6323

Please sign in to comment.