webpack.js.org - webpack

Description: webpack bundles JavaScript, CSS, HTML, WebAssembly and assets into optimized output for browsers, Node.js, Deno, Bun and other environments.

Example domain paragraphs

Documentation Contribute Blog English 中文 한국어 Search 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 src/index.js

import bar from './bar.js' ; bar ( ) ; src/bar.js

<! DOCTYPE html > < html > < head > < meta charset = " utf-8 " /> ... </ head > < body > ... < script src = " dist/bundle.js " > </ script > </ body > </ html > Then run webpack on the command-line to create bundle.js .

Links to webpack.js.org (352)