How to bundle @ruffle-rs/ruffle npm package with webpack? #18569
Unanswered
orazioedoardo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use the NPM package to centralize javascript dependencies to NPM and benefit from dependabot. Ruffle works fine when including the release in a script tag, however I can't figure out how I'm supposed to use the
@ruffle-rs/ruffle
package. Suppose aplayer.js
file:Then create the bundle. Works but just like the release, it tries to load
core.ruffle.somehash.js
and then I suppose the WebAssembly files. Should I just manually copy those files from the node_modules folder? https://ruffle.rs/demo/ doesn't seem to do this.Beta Was this translation helpful? Give feedback.
All reactions