How to handle Web Workers "standard" syntax with webpack? : <p>I wonder if it's actually possible to handle Web Worker "standard syntax" in webpack (e.g <code>var worker = new Worker('my-worker-file.js');</code>) and how? </p>

<p>I know about <a href="https://github.com/webpack/worker-loader">worker-loader</a> but as far as I understand it needs a specific syntax and is not compatible with the standard one.</p>

<p>In other words, is it possible to bundle that file with webpack without changing the code? -> <a href="https://github.com/mdn/simple-web-worker/blob/gh-pages/main.js#L8">https://github.com/mdn/simple-web-worker/blob/gh-pages/main.js#L8</a></p>

<p>With <a href="http://browserify.org/">browserify</a>, I would use <a href="https://www.npmjs.com/package/workerify">workerify</a> transform, but I can't find anything in webpack's world.</p>
