preactjs / next-plugin-preact

Next.js plugin for preact X
396 stars 9 forks source link

Skip edge compiler in next 12 #59

Closed huozhi closed 2 years ago

huozhi commented 2 years ago

Latest version (12.0.6) of next.js introduces a new webpack compiler under 'edge' runtime. The preact debug chunk only works for entries from server and client compiler, so that we skip the prepending in 'edge' runtime compiler

Related to #60

huozhi commented 2 years ago

Thank you! Could you let me know when there's a new release for the plugin? would love to do some test with the example around it

JoviDeCroock commented 2 years ago

This has been released in 3.0.7 @huozhi

huozhi commented 2 years ago

Works perfectly with current next stable and latest next canary 🚀 Thanks again for the reporting and the help on release! :shipit: @JoviDeCroock

JoviDeCroock commented 2 years ago

Thank you for including us and your PR, highly appreciate this