What happened?
Hi, as you can see on Yarn website, since version 3.1.1 the warning :
The package doesn't seem to have a commonjs entry point
-> https://yarnpkg.com/package?name=react-onesignal
I have error when I build the project.
When I add version 3.1.1 I don't have this error.
What browsers are you seeing the problem on?
Chrome (Chromium)
What operating system are you running?
Windows / Vercel / NextJs
Steps to reproduce?
What did you expect to happen?
Add the commonjs entry point because for some project its not possible to change builder config
Relevant log output
ReferenceError: module is not defined in ES module scope
This file is being treated as an ES module because it has a '.js' file extension and '/vercel/path0/node_modules/react-onesignal/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
What happened?
Hi, as you can see on Yarn website, since version 3.1.1 the warning :
The package doesn't seem to have a commonjs entry point
-> https://yarnpkg.com/package?name=react-onesignal
I have error when I build the project.
When I add version 3.1.1 I don't have this error.
What browsers are you seeing the problem on?
Chrome (Chromium)
What operating system are you running?
Windows / Vercel / NextJs
Steps to reproduce?
What did you expect to happen?
Add the commonjs entry point because for some project its not possible to change builder config
Relevant log output