You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On startup with a new Next.js project (v10.2.2) configured with this plugin, and with the next.config.js using the future.webpack5 option in order to enforce webpack 5 (usually it falls back to webpack 4 if a custom webpack config is detected, as is the case with this plugin), the dev command fails with the following message.
The message goes away if I explicitly install webpack to the project.
The text was updated successfully, but these errors were encountered:
lunelson
changed the title
Fails with future.webpack5 option, unless I specifically install webpack
Fails with future.webpack5 option, unless webpack explicitly installed
May 24, 2021
preactjs/prefresh#361 and preactjs/prefresh#362 have been merged and have solved the issue, but I had to manually upgrade @prefresh/webpack to fix it. Maybe @JoviDeCroock could bump the prefresh in this package again? Thanks!
On startup with a new Next.js project (
v10.2.2)
configured with this plugin, and with thenext.config.js
using thefuture.webpack5
option in order to enforce webpack 5 (usually it falls back to webpack 4 if a custom webpack config is detected, as is the case with this plugin), thedev
command fails with the following message.The message goes away if I explicitly install
webpack
to the project.The text was updated successfully, but these errors were encountered: