prefresh icon indicating copy to clipboard operation
prefresh copied to clipboard

Prefresh Webpack shouldn't assume the user is using NextJS

Open rschristian opened this issue 1 year ago • 1 comments

A user saw this pop up due to a minor version resolution issues w/ a Preact-CLI app which surprised them. Can we check if Next exists before providing this? Or maybe add a more generic error message?

https://github.com/preactjs/prefresh/blob/018f5cc907629b82ffb201c32e948efe4b40098a/packages/webpack/src/index.js#L122-L130

rschristian avatar Jan 16 '24 07:01 rschristian

A generic error message is probably a better shout as we don't support Next.JS anymore either way

JoviDeCroock avatar Jan 16 '24 07:01 JoviDeCroock