Closed easyfrog closed 3 years ago
Can you share your rollup.config.js? It's often the case that these types of errors occur when plugins are not processed in the right order. You can also have a look at this as an example: rollup.preview.config.js, it's the configuration used in the demo.
If that doesn't solve your problem, the error could also be caused by out-of-date rollup plugins, I can see that some of those in your package.json are deprecated. A lot of them have been moved to the @rollup/
namespace, like @rollup/plugin-commonjs
.
Also, the current LTS of Node.js is version 14, you can check if updating that fixes the problem.
I got this error when bundled:
this is dependencies: