-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
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
Fixing incorrect exports field on package.json #155
Comments
@tornadocontrib Hello! |
@Kolezhniuk I believe it is because it uses export when the target is nodejs. The examples only use rollup for browser builds. |
@tornadocontrib One question, why do you need to use rollup for NodeJS? |
@Kolezhniuk Because I would like to bundle the dependency to use it offline without doing yarn install, and to preserve the bundled output with Single executable applications https://nodejs.org/api/single-executable-applications.html |
Fixed by using an older version of ffjavascript though, maybe rollup.js only recognizes old style exports field. |
I have encountered an error while bundling circomlibjs which depends on ffjavascript exports using rollup.js
rollup/plugins#1705
Seems like either ffjavascript has an incorrect exports field defined or the rollup.js couldn't resolve ffjavascript's export definition correctly.
The text was updated successfully, but these errors were encountered: