This repository contains two examples of using WebWorker API in a Webpack + TypeScript environment.
worker-loader shows an example setup using Webpack
worker-loader plugin. Webpack
worker-loader plugin supports inline loading and supports TypeScript integration.
multiple-entry shows an example setup using Webpack's multiple entry feature. It also utilizes webpack's builtin plugin to merge common chunks of master and worker to a separate file.