Configure Webpack 2 and Babel for use with Preact

Shane Osbourne
InstructorShane Osbourne

Share this video with your friends

Send Tweet

In this lesson we will create a ‘webpack.config.js’ file from scratch. Along the way we’ll learn about the entry point, how to specify output, how to configure loaders, the Preact-specific parts of the Babel configuration, and finally how to use the ‘webpack-dev-server’ via a script in the ‘package.json’ file