clhenrick / metronome-app

A mobile friendly metronome web app
https://clhenrick.github.io/metronome-app/
MIT License
1 stars 2 forks source link

worker.js path should be different for production #1

Closed clhenrick closed 6 years ago

clhenrick commented 6 years ago

During development it is src/utils/worker.js but when the files are compiled it should probably be ./worker.js; but this probably isn't correct either because of Webpack's module bundling.

clhenrick commented 6 years ago

The worker-loader for Webpack seems appropriate: https://github.com/webpack-contrib/worker-loader