bundle your
assets scripts

dependency bundling graphic

Write your code


import bar from './bar';



export default function bar() {

Bundle with webpack


module.exports = {
  entry: './app.js',
  output: {
    filename: 'bundle.js'


    <script src="bundle.js"></script>

Then run webpack on the command-line to create bundle.js.

It's that simple

Get Started quickly in our Guides section, or dig into the Concepts section for more high-level information on the core notions behind webpack.

Support the Team

Through contributions, donations, and sponsorship, you allow webpack to thrive. Your donations directly support office hours, continued enhancements, and most importantly, great documentation and learning material!

Latest Sponsors

The following persons/organizations made their first donation in the last 14 days.

Fred CarlsenJonathan SoiferElegant Media's avatarSay Yup's avatarColton ColcleasureBharath's avatarGregory Nowakowski's avatarWebbituote's avatar

Platinum Sponsors

platinum sponsorsare those who have pledged $50,000 or more to webpack.

trivago's avatar

Gold Sponsors

gold sponsorsare those who have pledged $10,000 to $50,000 to webpack.

ag-Grid's avatarSegment's avatarAdobe's avatarCapital One's avatar

Silver Sponsors

silver sponsorsare those who have pledged $2,000 to $10,000 to webpack.

Slack's avatarTipe.io's avatarFacebook Open Source's avatarPeerigon's avatarKeyCDN's avataregghead.io's avatarWebflow's avatarGoogle Angular's avatar上线了's avatarSentry.io's avatar5 minutes of React podcast's avatar

Bronze Sponsors

bronze sponsorsare those who have pledged $200 to $2,000 to webpack.

Airbnb's avatarFrontend Masters's avatarPhotoEditorSDK's avatarVTEX's avatarX-Team's avatarAddy Osmani's avatarKent C. Dodds's avatarWaffle.io's avatarAlligator.io's avatarJared Palmer's avatarSebastian Software GmbH's avatarSticker Mule's avatarHubSpot's avatarN26's avatarRollbar's avatarSarah Drasner's avatarsynedra IT GmbH's avatarZEIT's avatarAccelebrate's avatarIcons8's avatarAndrew Lunny's avatarYvo Schaap's avatarSoftwarePlant's avatarModus Create's avatarClevertech's avatarJoshua Wiens's avatarProductReview.com.au's avatarEsben Petersen's avatarAppfolio's avatarclay's avatarThe Training Advisors's avatarThreadless ShopreBuy's avatarCerner Engineering 's avatarAlgolia's avatarAviture Inc.'s avatarJetRuby Agency's avatarDan Abramov's avatarIrvin Waldman's avatarChristian Alfoni's avatarArchitects.ioReact Native Training's avatarWork & Co's avatarBen Vinegar's avatarFred CarlsenWonmin's avatarEvgeny Rodionov's avatarI Done This's avatar