A sample project that illustrates how to structure your project when using Web Workers together with Visual Studio Code, TypeScript, and Webpack.
Web Workers: Playing Nice With Visual Studio Code’s Intellisense
- Install dependencies:
npm install
- Build the application:
npm run build
- Start the web server:
npm start
- Open up the browser and navigate to the given URL.
- Open up the browser's Developer Tools to see the results printed on the console.