Sponsor webpack and get apparel from the official shop! All proceeds go to our open collective!

bundle your
assets scripts

STATIC ASSETS .png .css .jpg .js MODULES WITH DEPENDENCIES .jpg .png .sass .sass .js .sass .cjs .hbs .js

Write your code


import bar from './bar';



export default function bar() {

Bundle with webpack

Without config or provide custom webpack.config.js

const path = require('path');

module.exports = {
  entry: './src/index.js',
  output: {
    path: path.resolve(__dirname, 'dist'),
    filename: 'bundle.js'


<!doctype html>
    <script src="dist/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 (limited to the top 10).

TrueVendor's avatarLuke Donato's avatarBhuvana Kadapakkam's avatarChaitanya Sharma's avatarNikola Toshev's avatarJoe's avatarHebergeurWeb.ca's avatarSimon Stromberg's avatarPatric Stromberg's avatarSimon Stromberg'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 avatarAirbnb's avatarFacebook Open Source's avatarFrontend Masters's avatarCapital One's avatarAdobe's avatarCoinbase's avatarIndeed's avatar

Silver Sponsors

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

Webflow's avatarSlack's avatarAMP Project's avataregghead.io's avatarTipe's avatarThreadless Shop's avatarPeerigon's avatarN26's avatarRollbar's avatar上线了's avatarKeyCDN's avatarPhotoEditorSDK's avatarSentry.io's avatarGoogle Angular's avatarAlligator.io's avatarJared Palmer's avatarSticker Mule's avatarHubSpot's avatarWaffle.io's avatarAccelebrate's avatarFree Icons by Icons8's avatarTeam Extension's avatar5 minutes of React podcast's avatar

Bronze Sponsors

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

Kent C. Dodds's avatarAppfolio's avatarclay's avatarBlockchain Training Alliance 's avatarAddy Osmani's avatarVTEX's avatarTriplebyte's avatarX-Team's avatarSebastian Software GmbH's avatarAlgolia's avatarProductReview.com.au's avatarBCG Digital Ventures's avatarFire Stick Tricks's avatarEsben Petersen's avatarTrade Me's avatarSarah Drasner's avatarsynedra IT GmbH's avatarOmega Media's avatarZEIT's avatarJoshua Wiens's avatarYvo Schaap's avatarAndrew Lunny's avatarSoftwarePlant's avatarVolare Systems's avatarModus Create's avatarClevertech's avatarDan Abramov's avatarIrvin Waldman's avatarStatus Hero's avatarThe Training Advisors's avatarbinary option Thailand's avatarRaygun's avatarJetRuby Agency's avatarreBuy's avatarFred Carlsen's avatarCerner Engineering 's avatarAviture Inc.'s avatarChristian Alfoni's avatarTrueVendor's avatarDontPayFull's avatarClaudio Rodriguez's avatarUudet Nettikasinot's avatarNya Casinon's avatarReact Native Training's avatarArchitects.io's avatarWork & Co's avatarBen Vinegar's avatarDarko Kukovec's avatarCory House's avatarJonathan Soifer's avatarCodePilot.ai's avatarWonmin's avatarAlex Liang's avatarJonathon Landon's avatarRagunath Ramaswamy's avatarRob Kielty's avatarDerk-Jan Karrenbeld @SleeplessByte's avatarAdam's avatarCodeFirst's avatarBettingFeber.se's avatarEvgeny Rodionov's avatarByteScout's avatarMixmax's avatarKarolis Astrauka's avatarI Done This's avatarEliseu Monar dos Santos's avatarMike Murry's avatarJayshri Sing's avatar


The following Backers are individuals who have contributed various amounts of money in order to help support webpack. Every little bit helps, and we appreciate even the smallest contributions. This list shows 100 randomly chosen backers:

TaopaiC Tao's avatar
Sasha Koss's avatar
谢彪's avatar
Adam Recvlohe's avatar
Ben Cao's avatar
MoonMail's avatar
Jon Seidel's avatar
Sean Clayton's avatar
Vincent Donato's avatar
Matthew Duong's avatar
Ross Kaffenberger's avatar
Vladimir Z's avatar
Arjun Sarode's avatar
Rey Bango's avatar
Paul Kotets's avatar
Michael Loughry's avatar
Brandon Pierce's avatar
Gregory Nowakowski's avatar
Freespin.nu's avatar
Jacob Mischka's avatar
Wellington Soares's avatar
Guilherme Rodrigues's avatar
Espen Hovlandsdal's avatar
Adam Eury's avatar
Adam Cooper's avatar
Jurica Železnjak's avatar
Freegames66.com's avatar
Bhuvana Kadapakkam's avatar
Carey Hinoki's avatar
Alexander Mostovenko's avatar
Hozefa Jodiawalla's avatar
Andrew Vieyra's avatar
Benjamin Geese's avatar
Artur Ptaszek's avatar
Mike Auclair's avatar
French Toasters LLC's avatar
JD's avatar
Eddy Hernandez's avatar
Josh Lavely's avatar
Viktor Hubert's avatar
Daniel Treasure's avatar
Sara Vieira's avatar
Kanitkorn Sujautra's avatar
Adam Zhu's avatar
Riderman De Sousa Barbosa's avatar
Pavel Kornev's avatar
Timber.io's avatar
Jan-Kanty Pawelski's avatar
Joel Kemp's avatar
Eirik Birkeland's avatar
Oliver Bolton's avatar
Graham Holborn's avatar
Anup's avatar
Sergii Rudenko's avatar
Pedro Piñera Buendía's avatar
Mark Fayngersh's avatar
Giorgio Natili's avatar
Rocco Curcio's avatar
Restrry Mike's avatar
Kevin Scott's avatar
Andor Polgar's avatar
Fravic's avatar
FinansTopp.no's avatar
kkpoon's avatar
Hugo Freitas's avatar
Eric Feng's avatar
Dusan Radojevic's avatar
Oliver Lassen's avatar
Ke Wang's avatar
Alejandro Ortiz's avatar
Henry Zhu's avatar
HebergeurWeb.ca's avatar
kazz's avatar
Currency Converter's avatar
Joshua Baker's avatar
Anton Moiseev's avatar
Pat Khunachak's avatar
Albany Tree & Property Service's avatar
Licensierade Casino's avatar
Krzysztof Matysiak's avatar
ilmaiskierrosta's avatar
henri js framework's avatar
Linnea Rogsted's avatar
James's avatar
Sergio Xalambrí's avatar
Adult Work's avatar
Kotisivut yritykselle's avatar
Philip John Basile's avatar
Patrick Neschkudla's avatar
AlarmDJ's avatar
anonymous's avatar
anonymous's avatar
VPS Server's avatar
Zaeburn Mercer's avatar
smartcode's avatar
imgVEHICLE's avatar
Suraj Poddar's avatar
The Gobeliners's avatar
Josh Manders's avatar
Elías Rafael  Rodelo Osorio's avatar