We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When trying to build via npm run build, the /dist folder is created, but you get the following error...
npm run build
/dist
[!] Error: Invalid format: esm - valid options are amd, cjs, es, iife, umd
I tried to solve this by installing esm via npm i esm, but it still results in the same error.
npm i esm
The text was updated successfully, but these errors were encountered:
Looks like a problem with the version of rollup you are using. Can you specify the version of rollup being used?
Sorry, something went wrong.
As a workaround, you can change the entry in rollup.config.js from "esm" to "es". This should fix the problem.
It should have been using the local copy of rollup declared in prosemirror-mentions/package.json which is 0.50.1.
prosemirror-mentions/package.json
I was able to use the workaround, but it seems like the main build will produce an error.
No branches or pull requests
When trying to build via
npm run build
, the/dist
folder is created, but you get the following error...I tried to solve this by installing esm via
npm i esm
, but it still results in the same error.The text was updated successfully, but these errors were encountered: