happo / happo-next-demo

A demo project showing how happo can be used with Next.js
0 stars 2 forks source link

fix(.happo.js, README): update example next config #6

Closed williaster closed 3 years ago

williaster commented 3 years ago

When following the example in this repo to setup happo for visx which is on next@9.5.4, I encountered several errors when running yarn happo run which seemed to come from an incomplete nextWebpackConfig config shape (found a similar issue for next-plugin-storybook which extends the base next config; generally next says such usage of these internals isn't officially supported).

This PR updates the .happo.js + README to reflect the changes I made in case you'd like to update them here. Thanks!

@trotzig @lencioni