Serving mp3 files using the webpack file loader
问题 I have a problem with getting my mp3 files to work using the webpack file loader. This is the issue: I have a mp3 file on my harddisk, that if I open using chrome by for example "c:\somefolder\somemp3file.mp3" opens up in a tab in the browser and plays just fine. However, when I serve the exact same file using webpack it does not work. I have configured the loader in webpack like this: { test: /\.(gif|jpg|png|mp3|aac|ogg)$/, loader: 'file' } Then, when I'm trying to link to the file I require