Skip to content

Commit d18861b

Browse files
authored
Suggest using solid dev build in webpack for hmr to work
1 parent ad30cba commit d18861b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ In your webpack config, be sure to have the following options:
7272
devServer: {
7373
liveReload: false,
7474
hot: true,
75-
}
75+
},
76+
resolve: {
77+
conditionNames: prod ? ['browser', 'import'] : ['development', 'browser', 'import'],
78+
},
7679
```
7780

7881
### Parcel

0 commit comments

Comments
 (0)