Extending webpack in the SharePoint Framework toolchain (js-extend-webpack)
Extending webpack in the SharePoint Framework toolchain (js-extend-webpack)
Webpack is a JavaScript module bundler that takes your JavaScript files and its dependencies and generates one or more JavaScript bundles so you can load different bundles for different scenarios. One common task you would want to add to the SharePoint Framework toolchain is to extend the webpack configuration with custom loaders and plugins. This sample shows how to use the webpack markdown-loader to preprocess markdown files to HTML string.