Closed HenrijsS closed 2 years ago
Nevermind.
Removed the .default
from the require
and it worked.
Saw it in the release notes and somehow missed it while visiting the docs.
Nevermind. Removed the
.default
from therequire
and it worked. Saw it in the release notes and somehow missed it while visiting the docs.
Strange, but I still have this error.
@Defite Make sure you're on the latest version. Can you please share the Config file?
@Defite Make sure you're on the latest version. Can you please share the Config file?
My fault, sorry. Had to clean .next folder and reinstall node_modules. Now it's ok.
Describe the bug The module seems to not recognize the class.
To Reproduce Steps to reproduce the behavior:
Expected behavior When I started the project, the plugin was at version
1.4.10
and that seems to be working fine. The issue breaks on the latest1.5.5
version.Here's my next.config.js
I've also looked at the package in
node_modules
for bothv1.4.10
andv1.5.5
and they both seem to export the same Class with a constructor.EDIT: I've created a simple Repo for the issue: https://github.com/HenrijsS/windicss-nextjs-bug Try switching from
v1.4.10
andv1.5.5