Skip to content

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

Open
jklimke wants to merge 5 commits intogl-vis:masterfrom
3dcl:switch_build_to_rollup
Open

Switch build to rollup to ease integration with other libraries#54
jklimke wants to merge 5 commits intogl-vis:masterfrom
3dcl:switch_build_to_rollup

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.

2 participants