bundle your
assets scripts

dependency bundling graphic

코드 작성하기

app.js

import bar from './bar';

bar();

bar.js

export default function bar() {
  //
}

웹팩과 함께 번들하기

webpack.config.js

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

page.html

<html>
  <head>
    ...
  </head>
  <body>
    ...
    <script src="bundle.js"></script>
  </body>
</html>

bundle.js를 만들기 위해 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.

DontPayFull's avatarRob Mellett's avatarmqklin's avatarDavid Ang's avatarPaul Kotets's avatarRobert Požarickij's avatarPromoCodeWatch's avatarhenri js framework's avatarConnor Clark's avatarRobert Knight's avatarkkpoon's avatarEadepardazan's avatarNokey King's avatarAlex Parish'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 avatarFacebook Open Source's avatarTipe's avatarWebflow's avataregghead.io's avatarPeerigon's avatarAirbnb's avatar上线了's avatarKeyCDN's avatarSentry.io's avatarGoogle Angular's avatarAMP Project's avatar5 minutes of React podcast's avatar

Bronze Sponsors

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

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

Backers

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.

Sasha Koss's avatar
Kevin James's avatar
Cory House's avatar
Darko Kukovec's avatar
Evan Scott's avatar
Matteo's avatar
Nicolas Roos's avatar
Eric Clemmons's avatar
Alex Liang's avatar
Davin Hills's avatar
Chris Lloyd's avatar
Ragunath Ramaswamy's avatar
david8's avatar
Derk-Jan Karrenbeld @SleeplessByte's avatar
Rob Kielty's avatar
Steve Ricciardelli's avatar
Botika's avatar
Adam's avatar
Shane Eckel's avatar
Karolis Astrauka's avatar
Eliseu Monar's avatar
Mike Murry's avatar
MoonMail's avatar
Lochlan Bunn's avatar
Adam Recvlohe's avatar
Open Listings's avatar
MicroPyramid's avatar
Shiva Nandan's avatar
dev_to's avatar
ngAtl Conf's avatar
Emilio Martinez-Cordero's avatar
Johannes Weber's avatar
Chris Freeman's avatar
Yong Su's avatar
Sean Clayton's avatar
Jon Seidel's avatar
TaopaiC Tao's avatar
Oliver Zeigermann's avatar
Albert Chang's avatar
AB's avatar
Uptrend Technology, Inc.'s avatar
drdla's avatar
Suman Bharadwaj's avatar
spalger's avatar
Vladimir Starkov's avatar
Alex Leung's avatar
Say Yup's avatar
Valentin Semirulnik's avatar
Jorge Antunes's avatar
Jeremy Schlatter's avatar
Conor Hastings's avatar
Jonathan Kim's avatar
Matt lewis's avatar
Umut Sirin's avatar
Rafał Filipek's avatar
Joel Chen's avatar
Gil Barbara's avatar
Simen Brekken's avatar
谢彪's avatar
Knovour Zheng's avatar
Sean Larkin's avatar
Mark van den Brink's avatar
Michael Van Diest's avatar
Travis Arnold's avatar
Arjun Sarode's avatar
Neven Rodić's avatar
Rey Bango's avatar
Stephen R's avatar
Ben Cao's avatar
Ajit Singh's avatar
Suhas Deshpande's avatar
Yevgen Safronov's avatar
Tyler McGinnis's avatar
Francisco Olmedo's avatar
Parker Bond's avatar
Adam Egesa's avatar
Alexander Shakun's avatar
Dzianis Sheka 's avatar
Leonard Souza's avatar
Nicolai Pascal Großer's avatar
Tirell's avatar
александр староверов's avatar
Thorsten Lünborg's avatar
Eric Lanehart's avatar
Chris Villanueva's avatar
Jonathan Soifer's avatar
Simon Kjellberg's avatar
Jacob Peddicord's avatar
Carlos Guimaraes's avatar
Aaron Trostle's avatar
Robert Fruchtman's avatar
kuma's avatar
Eugene Baranov's avatar
Jonas Strømsodd's avatar
Sijie Tian's avatar
Lagged's avatar
Alexander Wunschik's avatar
Felipe Amorim's avatar
Anatoliy Yastreb's avatar
Eduard Kyvenko's avatar
Denny Schuldt's avatar
Mark Drake's avatar
Richard's avatar
Jacob Mischka's avatar
Ching-Ting Wu's avatar
Wellington Soares's avatar
Samir Damle's avatar
Corjen's avatar
Zachary Origitano's avatar
Michael Loughry's avatar
Mark Thomas's avatar
jules's avatar
Jeremy Morrell's avatar
Kevin Ball's avatar
Alexander Mostovenko's avatar
Vladimir Z's avatar
Guillermo Sanchez's avatar
Martin Fischer's avatar
Sunil Pai's avatar
James Cham's avatar
Freegames66.com's avatar
Carey Hinoki's avatar
Charlie Wettlaufer's avatar
CodePilot.ai's avatar
anonymous's avatar
Rob Mellett's avatar
Jason Laster's avatar
Grgur Grisogono's avatar
Josh Dzielak's avatar
Jurica Železnjak's avatar
Alejandro Brozzo's avatar
Oliver's avatar
Brandon Pierce's avatar
Ross Kaffenberger's avatar
Oliver's avatar
French Toasters LLC's avatar
Rohit Kumar's avatar
paulhiers's avatar
Bruno Mota's avatar
Eugene Molokov's avatar
Michiel Westerbeek's avatar
José Diaz Seng's avatar
Say Yup's avatar
Rolf Lekang's avatar
JD's avatar
Dan Grebb's avatar
GiveMeDeals's avatar
Jonathan Soifer's avatar
jdinhify's avatar
Two Bucks's avatar
Indexed's avatar
Josh Lavely's avatar
Eddy Hernandez's avatar
Marcus Nielsen's avatar
Dean Pogni's avatar
Artur Stolear's avatar
Reinier Kaper's avatar
Matija Marohnić's avatar
Kevin Clement's avatar
DomaiNesia's avatar
manuelbieh's avatar
Gaël Marziou's avatar
Kewei Ma's avatar
Dan J's avatar
Dealfy.co.uk's avatar
Greg Venech's avatar
Espen Hovlandsdal's avatar
Rude Ayelo's avatar
Giovanni Orlando's avatar
Vu Tran's avatar
Selçuk Kiraz's avatar
David Jungst's avatar
Daniel Treasure's avatar
Guilherme Rodrigues's avatar
Matt Palmer's avatar
Phil-lgr's avatar
Craig Doremus's avatar
Hozefa Jodiawalla's avatar
Jean-Luc Geering's avatar
Aaron Godin's avatar
Jonathan Reem's avatar
Kanitkorn Sujautra's avatar
Kevin Pruett's avatar
Timber.io's avatar
Kurtis Kemple's avatar
Darren Scerri's avatar
Artur Ptaszek's avatar
Andy Brown's avatar
Mark Lozano's avatar
李勇's avatar
Mike Joyce's avatar
Pavel Kornev's avatar
Riderman De Sousa Barbosa's avatar
Maris Zemgalis's avatar
Claudio Rodriguez's avatar
Jordi Teddy's avatar
Mitchell Gates's avatar
Cucumber Limited's avatar
Adam Eury's avatar
Andrey Popp's avatar
Michael Mullins's avatar
Harun Hasdal's avatar
Mukesh Soni's avatar
Jamie Athanassakis's avatar
Benjamin Geese's avatar
meyer's avatar
Peter Šulek's avatar
Jeevan Palakurty's avatar
Davison Long's avatar
Alexander Wunschik's avatar
Chris Williams's avatar
Khiet Vo's avatar
Mike Auclair's avatar
Dylan Byth's avatar
Johan Wendelstam's avatar
Cale Newman's avatar
Tim Griesser's avatar
Refael Dakar's avatar
Jake Day's avatar
Endel Dreyer's avatar
Adam Howard's avatar
Eduardo Rabelo's avatar
Steve McPherson's avatar
Spenser Isdahl's avatar
Yinan Fang's avatar
zhaojun's avatar
Kenneth Brubaker's avatar
Ari Palo's avatar
Keith Ito's avatar
Jorge Cuadra's avatar
Jan-Kanty Pawelski's avatar
Ben Vinegar's avatar
Richard Worsfold's avatar
Nathan Hunzaker's avatar
modulom's avatar
Ameya Koshti's avatar
Colin Wren's avatar
Ryan Graham's avatar
scottadamsmith's avatar
Kevin Scheffelmeier's avatar
Carlos Pérezpriego's avatar
Brainly's avatar
Eirik Birkeland's avatar
Jarrod Davis's avatar
Ricky de Laveaga's avatar
Snaptortoise's avatar
Joel Kemp's avatar
Andrei Zvonimir Crnković's avatar
Kevin Maes's avatar
Martin Kammersberger's avatar
Gavin Mogan's avatar
Andreas Keller's avatar
Kostas Manionis's avatar
Andrey Koperskiy's avatar
Sara Vieira's avatar
Luka Maljic's avatar
Andrey Knupp Vital's avatar
Alon David's avatar
Restuta's avatar
http://kaspertontti.fi's avatar
Santeri Hiltunen's avatar
Leonidas Esteban's avatar
Sergey Sharov's avatar
Samir Alajmovic's avatar
Karan Nijhawan's avatar
Tom Liu's avatar
Andi Semler's avatar
Klemen Slavic's avatar
13web's avatar
Zack Ward's avatar
Ryan Johnson's avatar
Ben McCormick's avatar
Ready Chi's avatar
Dexter Haslem's avatar
Jiyin Yiyong's avatar
omar mashaal's avatar
Robert Borg's avatar
Dmitry Kabak's avatar
Anders Hansen's avatar
Rò's avatar
Christian Kaltepoth's avatar
Viktor Hubert's avatar
Alexey Raspopov's avatar
александр темный's avatar
Ivan Lagunovsky's avatar
Andrew Rota's avatar
Restrry Mike's avatar
Josema EnZo's avatar
Philipp Andreychev's avatar
Bulan's avatar
Benjamin Geese's avatar
Pedro Luz's avatar
Valentin Agachi's avatar
Anup's avatar
Vladimir Kalinichev's avatar
Sam Julien's avatar
Pedro Piñera Buendía's avatar
Maxflow BVBA (BE 0550.758.377)'s avatar
Gregory Nowakowski's avatar
Blake Cerecero's avatar
Emanuele Rampichini's avatar
Matters's avatar
mqklin's avatar
Sylvain's avatar
Mark Fayngersh's avatar
Artur Kulig's avatar
Viesturs Teivāns's avatar
Oliver Wehn's avatar
Bhargav Ponnapalli's avatar
Ginhing Lee's avatar
Jeremia Kimelman's avatar
Erik Fox's avatar
Anton Alexandrenok's avatar
Jack Zhang's avatar
Matt Dionis's avatar
Alexander Pustomelnyk's avatar
G P's avatar
Woojin Joe's avatar
George Yong's avatar
Ronald ChanOu's avatar
Timothy Bula's avatar
Evgeny Samsonov's avatar
Moritz Mahringer's avatar
Gustavo Muñoz's avatar
Fravic's avatar
Evgeny Timoshenko's avatar
Matthew Welke's avatar
Mustafa Rashid's avatar
Giorgio Natili's avatar
Luke Bennett's avatar
Spencer Hamm's avatar
Eric Feng's avatar
Daniel Jenkins's avatar
Ken Colton's avatar
Ron McCranie's avatar
Ryan Helmoski's avatar
Gene Chulkov's avatar
Dusan Radojevic's avatar
Ziad Jammal's avatar
Kevin Ortman's avatar
Dano Alexander's avatar
Hugo Freitas's avatar
Drathal's avatar
WenmingTang's avatar
Alex Chen's avatar
Longzheng Zhu's avatar
Owen Kelly's avatar
Mattias Johansson's avatar
Aseem Sood's avatar
Tamouse Temple's avatar
Manatsawin Hanmongkolchai's avatar
Arti Villa's avatar
Alejandro Ortiz's avatar
Dani Llops's avatar
Renato Alves's avatar
Luís Fontes's avatar
加藤賢太's avatar
Alexander Kozhevin's avatar
Cassio Cardoso's avatar
Nabarun Bhowmick's avatar
Sebastian De Deyne's avatar
Jason Baciulis's avatar
Kristoffer Brabrand's avatar
Ferdinand Salis-Samaden's avatar
Sean Matheson's avatar
Patrick Arminio's avatar
Vlad Kosinov's avatar
Henry Zhu's avatar
Hongmin Qiao's avatar
Jian Wei Gan's avatar
Jose Quintana's avatar
Matt Clarke's avatar
Julian Modesto's avatar
Joan Llenas's avatar
Jason Kelly's avatar
Eric Stumper's avatar
Snow Liang's avatar
Michal Hantl's avatar
Maarten Tibau's avatar
Georgio Wan's avatar
Daniel Tschinder's avatar
Krzysztof Matysiak's avatar
Wen Tian Zhang's avatar
Matias Arellano's avatar
Rene Herrmann's avatar
안희종's avatar
Malek Hakim's avatar
Priou's avatar
Ralph03's avatar
Freegames66's avatar
Prince Bechani's avatar
Petagadget's avatar
alinnert's avatar
Dan DiGangi's avatar
Elegant Media's avatar
Intreba's avatar
Steve's avatar
Phil Plückthun's avatar
Lucas Farías's avatar
Matt Hargett's avatar
David Ang's avatar
Paul Kotets's avatar
lei's avatar
Mario Estrada's avatar
Perry Poon's avatar
Pat Khunachak's avatar
Harold Crow's avatar
Daiquiri.io's avatar
Yanagi Motonari's avatar
Sergio Xalambrí's avatar
Matthew Erker's avatar
Alexander Kaiser's avatar
Patrick Collison's avatar
Ivan Zusko's avatar
Craig Kochis's avatar
Mircea Dinoiu's avatar
Vincent Voyer's avatar
Luke Page's avatar
Emmanuel Vuigner's avatar
Bobbink - Ferienparkspecials's avatar
Biohackers Lab's avatar
Jaap Lorier's avatar
Chris Nienhuis's avatar
Kotisivut yritykselle's avatar
Elberth Jaimes's avatar
多会's avatar
Davidson Fellipe's avatar
Charles Pinnix's avatar
Daniel Arthur Gallagher's avatar
Noah Lemen's avatar
Andor Polgar's avatar
Robert Požarickij's avatar
Tadeja Firman's avatar
Peace Ngara's avatar
Vsevolod Okhrin's avatar
Xavier Damman's avatar
Joe Palladino's avatar
Patrick Neschkudla's avatar
Nir Galon's avatar
Craig Nguyen's avatar
Patrick Roza's avatar
Tatsuya Nakano's avatar
Christian Matsoukis's avatar
Olivier Combe's avatar
Mohammad Umair Khan's avatar
Maxim Procopenco's avatar
Dani Klein's avatar
Thomas Randolph's avatar
Dmitry Matveev's avatar
Lorenzo Sicilia's avatar
aga5tya's avatar
admin6's avatar
Mohamad Al Asmar's avatar
Peak Digital K.K.'s avatar
Colton Colcleasure's avatar
Bharath's avatar
PromoCodeWatch's avatar
Anri Asaturov's avatar
Dinakar Tumu's avatar
Andrey Kravtsov's avatar
Michael Lebas's avatar
Marlen Gevorkyan's avatar
Graham Holborn's avatar
Suraj Poddar's avatar
Daniel O'Connor's avatar
anonymous's avatar
Niel de la Rouviere's avatar
Anton Moiseev's avatar
henri js framework's avatar
Connor Clark's avatar
Robert Knight's avatar
kkpoon's avatar
Nurlan Alekberov's avatar
Antonio Yee's avatar
Anas Barghoud's avatar
Pitchayut Nipatdamrongkoun's avatar
Soichiro Miki's avatar
Kirill Shevchenko's avatar
Cody Chan's avatar
Dana Woodman's avatar
Rachel Tublitz's avatar
Josh Manders's avatar
Viliam Elischer's avatar
Bnaya Zilberfarb's avatar
Kushal Pandya's avatar
Kazuhito Higashioka's avatar
Anh Hoang's avatar
wusan's avatar
Ryan Tallmadge's avatar
Brainly's avatar
Asjad Saboor's avatar
Niran Babalola's avatar
Eadepardazan's avatar
Nokey King's avatar
Alex Parish's avatar
Nathan Walker's avatar
Moritz Sattler's avatar
Alexander Grigoriev's avatar
Sarah Lim's avatar
2x3's avatar
Kiem Hoang's avatar
John Manoogian III's avatar
Riyadh Al Nur's avatar
Junjie Huang's avatar
SkillFlow's avatar
Carlos De La Torre Fregoso's avatar
Sk's avatar