Unambiguous Webpack config with Typescript
Devon Marisa Zuegel
6378

Awesome article!! :)

I got stuck near the beginning because I didn’t have the typescript module installed which is required to use Typescript for webpack’s config. This may be obvious upon reading this comment, but I assumed installing ts-node would automatically install typescript which it doesn’t. I spent half an hour looking at this error:

(function (exports, require, module, __filename, __dirname) { import * as webpack from 'webpack'
^^^^^^

After I installed Typescript I was good to go.

npm install --save-dev typescript

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.