Tonejs / Tone.js

A Web Audio framework for making interactive music in the browser.
https://tonejs.github.io
MIT License
13.4k stars 976 forks source link

Please make a new release so that you can use tonejs in svelte without having to modify the package.json #1062

Closed mardax007 closed 1 year ago

mardax007 commented 2 years ago

If you use tonejs in svelte you get an error on build. This is because vite uses nodejs and tonejs hates nodejs.

giohappy commented 2 years ago

I'm using Vite + Electron + Tone without any issue. The renderer builds correctly when importing Tone ESM bare module. Maybe it's something with the configuration of your project?

braebo commented 1 year ago

I'm using it just fine in svelte as well.

mardax007 commented 1 year ago

I haven't used it in months now so if it's fixed I'll close the issue