Skip to content

Commit

Permalink
Suggest using solid dev build in webpack for hmr to work
Browse files Browse the repository at this point in the history
  • Loading branch information
non25 authored May 29, 2024
1 parent ad30cba commit d18861b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ In your webpack config, be sure to have the following options:
devServer: {
liveReload: false,
hot: true,
}
},
resolve: {
conditionNames: prod ? ['browser', 'import'] : ['development', 'browser', 'import'],
},
```

### Parcel
Expand Down

0 comments on commit d18861b

Please sign in to comment.