Different parts of the webpack project are covered by different licenses. This page explains which applies to what.
webpack is MIT licensed. The same applies to the loaders, plugins, and tooling published by the webpack organization unless a repository states otherwise.
The webpack logo and icon are not covered by the MIT license. They are published separately in the webpack/media repository under their own terms. See the branding guidelines before using them.
The content on webpack.js.org is available under the Creative Commons Attribution 4.0 International license, which means attribution is required if you reuse it elsewhere.
The code samples embedded in this documentation are released under CC0 1.0 Universal (Public Domain Dedication). You are free to use them however you like, with no attribution required.