-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Unable to use with rollup #162
Comments
Alcaeus itself is built to both commonjs and modules (note the However, many of its dependencies which are all targeted at node js only. That includes That said, I have not really used it with rollup. I will have to investigate |
Hello again @quentincaffeino I think I can fix the problem you experience by changing some of the commonjs imports. This is related to default exports, Unfortunately there is also a bigger problem with For the time being, you would be stuck with webpack, which I have been using successfully for a long time. |
Thanks for your time anyway! |
There is little I can do from alcaeus perspective. Will close this now |
By importing hydra (
import {Hydra} from 'alcaeus';
) I get this errorReplication steps:
yarn init
yarn add rollup @rollup/plugin-node-resolve @rollup/plugin-commonjs
rollup.config.js
with this content:main.js
:rollup main.js --config rollup.config.js
Other
Is this package event meant to be used in browser? No demos on website does not work either.
And it isn't specified anywhere what is the primary platform for this package.
The text was updated successfully, but these errors were encountered: