Skip to content
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

Switch build to rollup to ease integration with other libraries #54

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jklimke
Copy link

@jklimke jklimke commented Dec 20, 2023

Since i had a lot of trouble with including Plotly JS using ScatterGL Plots into a vite js based project, i noticed that a similar project (regl-scatter2d ) used another bundling based on rollup in order to handle the inclusion of shader code.

Since it worked a lot better, i tried to switch the project over to a rollup-based build and changed the package main file to bundle.js which also includes preprocessed shader code while keeping the project dependencies external.

Does it make sense, to apply this to this repository ?

@dy
Copy link
Member

dy commented Dec 23, 2023

Not sure, @archmoj may be you know? I would personally try to just upgrade to esbuild and throw away babels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants