How can I use it with webpack?
You can load your sounds using file-loader (url-loader might work, but I haven't tried). Just pass the result of your require as the src option (like this: new Howl({src: [require("./my-sound.mp3")]})).
I add something like this:
import Howler from 'howler';
const { Howl } = Howler;
and it did work, tks
You can also just do:
import { Howl } from 'howler';
Most helpful comment
You can also just do:
import { Howl } from 'howler';