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
Trying to use this package in a rollup config file as:
import pascalcase from 'pascalcase';
But then this error happen:
[!] Error: While loading the Rollup configuration from "build/rollup.config.js", Node tried to require an ES module from a CommonJS file, which is not supported. A common cause is if there is a package.json file with "type": "module" in the same folder. You can try to fix this by changing the extension of your configuration file to ".cjs" or ".mjs" depending on the content, which will prevent Rollup from trying to preprocess the file but rather hand it to Node directly.
The text was updated successfully, but these errors were encountered:
Trying to use this package in a rollup config file as:
But then this error happen:
The text was updated successfully, but these errors were encountered: