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:

Vladimir Starkov's avatar
Say Yup's avatar
Gil Barbara's avatar
Mark van den Brink's avatar
Botika's avatar
Steve Ricciardelli's avatar
Shane Eckel's avatar
александр староверов's avatar
Adam Egesa's avatar
Sean Clayton's avatar
Jon Seidel's avatar
Jhon Henry Mesa Guerra's avatar
Suhas Deshpande's avatar
Alex Leung's avatar
Ross Kaffenberger's avatar
Ajit Singh's avatar
Eugene Baranov's avatar
Tyler McGinnis's avatar
Chris Villanueva's avatar
Kevin Clement's avatar
Ron McCranie's avatar
David Ang's avatar
Samir Damle's avatar
Jurica Železnjak's avatar
Miguel González López's avatar
Ricky de Laveaga's avatar
Axo Finans SE's avatar
PromoCodeWatch's avatar
Freegames66.com's avatar
Charles Verge's avatar
Sunil Pai's avatar
Maximiliano Castro's avatar
Aaron Godin's avatar
александр темный's avatar
Alexander Pustomelnyk's avatar
Andrey Knupp Vital's avatar
Alex Chen's avatar
Maris Zemgalis's avatar
Riderman De Sousa Barbosa's avatar
Ivan Lagunovsky's avatar
Dan DiGangi's avatar
Jake Day's avatar
Jack Zhang's avatar
Kenneth Brubaker's avatar
Snaptortoise's avatar
Vertigo Studio SRL's avatar
Kevin Maes's avatar
Oliver Bolton's avatar
binkpitch's avatar
Josema EnZo's avatar
alinnert's avatar
Restrry Mike's avatar
anonymous's avatar
Ryan Johnson's avatar
Tai Nguyen's avatar
Evgeny Timoshenko's avatar
Mike Elsmore's avatar
Craig Kochis's avatar
WenmingTang's avatar
Oliver Lassen's avatar
Naoki Endoh's avatar
Alexander Kozhevin's avatar
Valuuttamuunnin's avatar
Allbestops Product Reviews's avatar
Wadav's avatar
Jack Moore's avatar
Sebastian De Deyne's avatar
Top Pfannen's avatar
Jenny Giesbach's avatar
Wen Tian Zhang's avatar
Lucas Farías's avatar
HebergeurWeb.ca's avatar
Eric Stumper's avatar
Michal Hantl's avatar
Malek Hakim's avatar
Perry Poon's avatar
Bobbink - Ferienparkspecials's avatar
Freshface's avatar
Sergio Xalambrí's avatar
David Johnston's avatar
Uudet nettikasinot's avatar
Matthew Erker's avatar
James's avatar
Lotto tulokset's avatar
Nir Galon's avatar
Anri Asaturov's avatar
sven alfred's avatar
anonymous's avatar
Startuplist's avatar
Frederico Hoffmann's avatar
anonymous's avatar
anonymous's avatar
Anas Barghoud's avatar
IO Developer's avatar
Simon Stromberg's avatar
Josh Manders's avatar
Deleted's avatar
Simon Stromberg's avatar
Simon Stromberg's avatar
Carlos De La Torre Fregoso's avatar