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
This issue is a continuation of #1710, as it appears that we still have issues with making Stylable and NextJS work together.
I believe that currently most of our problems stem from the fact that NextJS bundle their own version of webpack (v4 or v5, starting here vercel/next.js#20598) inline in their code. This means that any plugin that imports anything from webpack (like ours) would fail on instanceof checks inside webpack due to two different versions/instances running.
We are in the process of making our webpack plugin import only types from webpack and not require on any actual runtime imports, instead bringing the required entities from webpack itself (see #1720).
The text was updated successfully, but these errors were encountered:
This issue is a continuation of #1710, as it appears that we still have issues with making Stylable and NextJS work together.
I believe that currently most of our problems stem from the fact that NextJS bundle their own version of webpack (v4 or v5, starting here vercel/next.js#20598) inline in their code. This means that any plugin that imports anything from webpack (like ours) would fail on
instanceof
checks inside webpack due to two different versions/instances running.We are in the process of making our webpack plugin import only types from webpack and not require on any actual runtime imports, instead bringing the required entities from webpack itself (see #1720).
The text was updated successfully, but these errors were encountered: