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!
Nick TaylorDiscovered 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! medium.com/webpack/unambi…16:02 PM - 13 Nov 2017