What webpack secrets or less commonly known features do you know? This also includes loaders or plugins that not everyone might be aware of. Please share so we can all become webpack enlightened. 😉
I'll start. Did you know that you can write your webpack config in TypeScript if you have the ts-node
dev dependency installed? Type checking for my webpack config? Yes please!
Discovered that if you have ts-node installed as a dev dep, you can write your webpack.config in #TypeScript + then simply run as usual, but with an explicit --config parameter, e.g. webpack --config webpack.config.ts. Thanks for the article @devonzuegel! https://t.co/UJtuXwMxfl
— Nick Taylor (he/him) (@nickytonline) November 13, 2017