Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
7583 commits
Select commit Hold shift + click to select a range
54d196e
docs(concepts): fix code (#7358)
chenxsan Aug 15, 2024
8ad7666
Update contents
dkstyle Aug 16, 2024
2059983
chore(deps): bump react-router-dom in the dependencies group (#7359)
dependabot[bot] Aug 16, 2024
ad259a4
docs(api): Fix formatting of webpackExports section (#7360)
matthias-ccri Aug 17, 2024
f570adb
chore(deps-dev): bump the dependencies group with 3 updates (#7362)
dependabot[bot] Aug 20, 2024
ff67024
chore(deps-dev): bump husky in the dependencies group (#7363)
dependabot[bot] Aug 21, 2024
c975ac8
docs(guides): Mention end of support for subpath mapping exports by …
fbessou Aug 22, 2024
4ffff1a
chore(deps-dev): bump the dependencies group with 2 updates (#7365)
dependabot[bot] Aug 22, 2024
468ac75
docs(guides): update alternatives (#7326)
chenxsan Aug 24, 2024
7729b52
docs(externals): add `import` and `module-import` external type (#7345)
fi3ework Aug 24, 2024
f6b5f90
docs: add `Rule.assert` (#7367)
snitin315 Aug 24, 2024
d2b268c
docs: add supported version for import & module-import externals (#7369)
snitin315 Aug 24, 2024
04c18fd
docs(configuration): add `Rule.with` (#7368)
snitin315 Aug 24, 2024
8ee730e
docs: add `'modern-module'` value for `output.library.type` (#7370)
snitin315 Aug 24, 2024
219d805
docs: add webpackExports warning with destructuring assignments (#7371)
snitin315 Aug 24, 2024
ec86d70
docs: add `webpackIgnore` for `new URL()` (#7366)
snitin315 Aug 25, 2024
3a659c7
docs: avoid code in heading (#7372)
snitin315 Aug 25, 2024
bea8b9f
docs(plugins): update NormalModuleReplacementPlugin example (#7373)
snitin315 Aug 25, 2024
a60d88d
docs(configuration): add `output.environment.document` (#7374)
snitin315 Aug 25, 2024
38e186f
chore(deps-dev): bump @eslint/js in the dependencies group (#7376)
dependabot[bot] Aug 27, 2024
4d8e1e3
docs(configuration): update `splitChunks.cacheGroups.{cacheGroup}.nam…
snitin315 Aug 27, 2024
e6573f7
chore(deps): bump micromatch from 4.0.7 to 4.0.8 (#7377)
dependabot[bot] Aug 27, 2024
9c3a1ac
chore(deps-dev): bump cypress in the dependencies group (#7378)
dependabot[bot] Aug 28, 2024
5c7efe0
chore(deps-dev): bump cypress in the dependencies group (#7379)
dependabot[bot] Aug 30, 2024
9c60343
docs(plugins): Update module-federation-plugin.mdx (#7380)
KhaledTaymour Aug 31, 2024
be6ed07
chore(deps-dev): bump the dependencies group with 2 updates (#7382)
dependabot[bot] Sep 3, 2024
398a141
chore(deps): bump JamesIves/github-pages-deploy-action (#7381)
dependabot[bot] Sep 3, 2024
3c5b69f
chore(deps-dev): bump the dependencies group with 2 updates (#7383)
dependabot[bot] Sep 4, 2024
febed9f
chore(deps-dev): bump the dependencies group with 3 updates (#7384)
dependabot[bot] Sep 5, 2024
e1bf924
fix cube (#7386)
chenxsan Sep 7, 2024
bafd68a
chore(deps): bump the dependencies group with 2 updates (#7387)
dependabot[bot] Sep 10, 2024
f010836
chore(deps-dev): bump the dependencies group with 2 updates (#7389)
dependabot[bot] Sep 12, 2024
05bdc77
chore(deps): bump express from 4.19.2 to 4.21.0 (#7390)
dependabot[bot] Sep 12, 2024
688db18
docs(cli): add link to `--extends` usage (#7391)
snitin315 Sep 12, 2024
2351d04
docs(configuration): add `Rule.compiler` (#7392)
snitin315 Sep 12, 2024
5522e97
Update contents
dkstyle Sep 12, 2024
f503281
Update contents
dkstyle Sep 12, 2024
9b0f960
chore(deps-dev): bump the dependencies group with 2 updates (#7393)
dependabot[bot] Sep 12, 2024
a86b6d3
Merge branch 'main' of https://github.com/webpack/webpack.js.org into…
dkstyle Sep 13, 2024
fa39707
docs(configuration): module rule.compiler ident fix (#7394)
vsn4ik Sep 15, 2024
7629fc8
docs(plugins): replace a typo with a convenient word (#7395)
Ahmed-Hakeem Sep 16, 2024
573aea1
chore: update @docsearch/react to v3 (#7396)
snitin315 Sep 16, 2024
d9e1183
chore: update `react-helmet-async` to v2 (#7276)
snitin315 Sep 17, 2024
2e3d2b5
chore: update deps (#7399)
snitin315 Sep 17, 2024
60a7ca9
chore(deps-dev): bump tailwindcss in the dependencies group (#7400)
dependabot[bot] Sep 17, 2024
e10d85a
Update contents
dkstyle Sep 18, 2024
0abe6ce
chore(deps-dev): bump sass in the dependencies group (#7401)
dependabot[bot] Sep 19, 2024
7de3bc1
chore(deps-dev): bump the dependencies group with 3 updates (#7404)
dependabot[bot] Sep 21, 2024
e286925
chore(deps-dev): bump the dependencies group with 3 updates (#7406)
dependabot[bot] Sep 24, 2024
6faa6c9
chore(deps-dev): bump the dependencies group across 1 directory with …
dependabot[bot] Sep 25, 2024
9e3dcc6
Merge branch 'main' of https://github.com/webpack/webpack.js.org into…
dkstyle Sep 26, 2024
c1ca6ea
docs(api): document hashDigest etc. (#7405)
chenxsan Sep 26, 2024
f728823
chore(deps-dev): bump cypress in the dependencies group (#7409)
dependabot[bot] Sep 27, 2024
a205974
chore(deps): bump rollup from 2.45.2 to 2.79.2 (#7410)
dependabot[bot] Sep 27, 2024
b9bc5ab
chore(deps-dev): bump eslint-plugin-react in the dependencies group (…
dependabot[bot] Sep 28, 2024
1c487be
docs(optimization): add `optimization.avoidEntryIife` (#7402)
fi3ework Sep 29, 2024
f99cb1b
chore(deps): bump JamesIves/github-pages-deploy-action (#7412)
dependabot[bot] Sep 30, 2024
e88a825
chore(deps-dev): bump sass in the dependencies group (#7413)
dependabot[bot] Sep 30, 2024
52cefd2
Update contents
dkstyle Oct 2, 2024
36a19cd
chore(deps-dev): bump the dependencies group across 1 directory with …
dependabot[bot] Oct 3, 2024
c3ecad9
Merge branch 'main' of https://github.com/webpack/webpack.js.org into…
dkstyle Oct 4, 2024
cd8bcab
chore(deps-dev): bump @eslint/compat in the dependencies group (#7419)
dependabot[bot] Oct 6, 2024
7919d7f
Merge branch 'main' of https://github.com/webpack/webpack.js.org into…
dkstyle Oct 7, 2024
b0d3b43
chore(deps): bump the dependencies group with 2 updates (#7420)
dependabot[bot] Oct 9, 2024
796bcb9
chore(deps-dev): bump globals in the dependencies group (#7421)
dependabot[bot] Oct 10, 2024
e9a68b4
chore(deps): bump the dependencies group across 1 directory with 8 up…
dependabot[bot] Oct 12, 2024
1f1ab86
ci: use `ubuntu-22.04` for `errata-ai/vale-action` (#7427)
snitin315 Oct 12, 2024
66d98fc
chore(deps-dev): bump tailwindcss in the dependencies group (#7429)
dependabot[bot] Oct 16, 2024
98b3eff
Merge branch 'main' of https://github.com/webpack/webpack.js.org into…
dkstyle Nov 1, 2024
6d3dda8
Update contents
dkstyle Nov 1, 2024
e32a384
docs: update `output.devtoolNamespace` (#7425)
snitin315 Nov 1, 2024
e6486dc
Update glossary.js
dkstyle Nov 1, 2024
2df58d5
Merge branch 'kr' into merge-sync-202410
dkstyle Nov 2, 2024
c6182cf
Update Contents
dkstyle Nov 2, 2024
8119384
ci: use Node.js LTS version (#7452)
snitin315 Nov 3, 2024
759907d
ci: update errata-ai/vale-action (#7454)
snitin315 Nov 3, 2024
727ae06
chore: update deps (#7455)
snitin315 Nov 3, 2024
240b957
chore: use authenticated GitHub API locally if token is present (#7456)
snitin315 Nov 3, 2024
1a04a5e
chore: run lint-staged on `*.mjs` files (#7457)
snitin315 Nov 3, 2024
ddf5595
chore(deps): bump http-proxy-middleware from 2.0.6 to 2.0.7 (#7440)
dependabot[bot] Nov 3, 2024
e08e78c
chore(deps-dev): bump the dependencies group with 2 updates (#7462)
dependabot[bot] Nov 5, 2024
5168297
docs(IgnorePlugin): add note about CSS compatibility (#7459)
snitin315 Nov 5, 2024
6fe45e5
docs(plugins): update EnvironmentPlugin warning (#7461)
snitin315 Nov 5, 2024
e20e4d4
chore(deps): bump the dependencies group across 1 directory with 2 up…
dependabot[bot] Nov 8, 2024
4fffab6
docs(externals): update `externalsType.node-commonjs` usage (#7460)
snitin315 Nov 15, 2024
86ba10e
docs(api): add webpackIgnore usage with CSS (#7458)
snitin315 Nov 15, 2024
d74a6a7
chore(deps): bump JamesIves/github-pages-deploy-action (#7465)
dependabot[bot] Nov 15, 2024
afa7cfa
chore(deps-dev): bump the dependencies group across 1 directory with …
dependabot[bot] Nov 18, 2024
ad064a8
chore(deps-dev): bump husky in the dependencies group (#7472)
dependabot[bot] Nov 19, 2024
ca6f35b
Update contents
dkstyle Nov 20, 2024
de10c08
chore(deps-dev): bump cypress in the dependencies group (#7474)
dependabot[bot] Nov 21, 2024
72508f9
docs(configuration): remove cssHeadDataCompression (#7475)
chenxsan Nov 23, 2024
343c38b
chore(deps): bump smol-toml from 1.3.0 to 1.3.1 (#7478)
dependabot[bot] Nov 23, 2024
695b63d
Update contents
dkstyle Dec 4, 2024
2a32eb2
chore(deps): bump JamesIves/github-pages-deploy-action (#7482)
dependabot[bot] Dec 8, 2024
5692fb9
docs(output): remove `fetch-streaming` value for `wasmLoading` option…
snitin315 Dec 8, 2024
1113fea
docs(plugins): add `debugIds` option for `SourceMapDevToolPlugin` (#7…
snitin315 Dec 8, 2024
2161e76
Update contents
dkstyle Dec 9, 2024
bf76271
chore: udpate dependencies (#7489)
snitin315 Dec 9, 2024
86ae32b
docs(module): add `module.parser.css.import` option (#7490)
snitin315 Dec 9, 2024
199eb7d
docs(module): add css parser url option (#7491)
snitin315 Dec 11, 2024
e3d7cdc
Update contents
dkstyle Dec 11, 2024
e155fbc
chore(deps): bump JamesIves/github-pages-deploy-action (#7492)
dependabot[bot] Dec 17, 2024
4117e96
chore(deps): bump nanoid from 3.3.7 to 3.3.8 (#7496)
dependabot[bot] Dec 17, 2024
ce58b77
docs: update awesome-webpack.mdx (#7495)
kburich Dec 17, 2024
a0018f1
Merge branch 'main' of https://github.com/webpack/webpack.js.org into…
dkstyle Dec 18, 2024
2515ced
docs(resolve): clarify usage of `...` to retain default conditionName…
snitin315 Dec 18, 2024
35023e3
doc: update cli documentation for `create-webpack-app` (#7418)
maverox Dec 19, 2024
ebb3965
Update contents
dkstyle Dec 29, 2024
9541e39
Update contents
dkstyle Jan 8, 2025
06563c1
Merge branch 'kr' into merge-sync-202501
dkstyle Jan 8, 2025
7f8be99
docs(cli): add --config-node-env option (#7525)
snitin315 Jan 24, 2025
a75a7a1
chore: update webpack-cli to v6 (#7526)
snitin315 Jan 24, 2025
6240756
docs(cli): update the requirements note (#7527)
snitin315 Jan 24, 2025
eac78ec
Update contents
dkstyle Jan 25, 2025
c1ac637
docs(resolve): and wildcard alias configuration (#7505)
SeraphimKaito Feb 7, 2025
c0cfbce
Update contents
dkstyle Feb 13, 2025
715b2ba
docs(loaders): update async loader API documentation (#7541)
alexeyr-ci Feb 14, 2025
97f38c0
Update contents
dkstyle Feb 16, 2025
70bf8ad
chore(deps): bump JamesIves/github-pages-deploy-action (#7557)
dependabot[bot] Feb 26, 2025
04b58d5
chore(deps): bump @octokit/request from 9.1.1 to 9.2.2 (#7552)
dependabot[bot] Feb 26, 2025
daf1345
chore(deps): bump @octokit/plugin-paginate-rest from 11.3.0 to 11.4.3…
dependabot[bot] Feb 26, 2025
f6f132f
chore(deps): bump @octokit/request-error from 6.1.1 to 6.1.7 (#7548)
dependabot[bot] Feb 26, 2025
11b5567
docs: improve FlagDependencyExportsPlugin for large JSON by depth (#7…
hai-x Feb 27, 2025
27838c7
docs: update documentation for TypeScript webpack usage (#7550)
Vansh5632 Feb 27, 2025
5349e50
Update contents
dkstyle Mar 1, 2025
ea4a60d
Merge branch 'kr' into merge-sync-202506
dkstyle Mar 1, 2025
1f52d30
docs: fix code error in `externalsType.module-import` doc (#7563)
catnipan Mar 3, 2025
a04da6c
docs: remove extra space after backtick in 'module' configuration (#7…
ltndat Mar 3, 2025
4e66065
Update contents
dkstyle Mar 10, 2025
c49d054
fix: correct logo Alignment in Sponsor Section (#7568)
saurabh007007 Mar 12, 2025
872e136
chore(deps): bump @babel/runtime from 7.16.3 to 7.26.10 (#7569)
dependabot[bot] Mar 12, 2025
f7a1dc5
ci: use `--frozen-lockfile` in yarn install (#7572)
snitin315 Mar 12, 2025
ca8065c
chore: update minor dependencies (#7571)
snitin315 Mar 12, 2025
3a5b522
chore: update markdownlint (#7573)
snitin315 Mar 12, 2025
919c48c
docs: remove the createapp.dev/webpack link (#7574)
JoePittsy Mar 12, 2025
665ad75
docs: JSONparse option for json generator(#7577)
colinaaa Mar 13, 2025
5b9cd9e
chore: fix ssl verification for fetch-supporters in local development…
snitin315 Mar 14, 2025
8eda937
fix: revert Sponsor logo alignment #7568 (#7579)
snitin315 Mar 14, 2025
6c151c2
chore: open browser on configured port by default on yarn start (#7581)
SwetaTanwar Mar 14, 2025
0b18ab1
fix: add aria-label prop on nav links (#7580)
snitin315 Mar 14, 2025
ade6109
docs: fix fetch package file path (#7582)
SwetaTanwar Mar 14, 2025
0a0be5a
feat: Added codemods for migrating webpack from v4 to v5 (#7388)
akash-kumar-dev Mar 15, 2025
7d17d29
fix: excluded zero donation backers (#7585)
SwetaTanwar Mar 15, 2025
982492a
feat: add tooltip component for links & sponsors data (#7586)
snitin315 Mar 17, 2025
95b7f73
Update contents
dkstyle Mar 17, 2025
2befa7f
docs(configuration): remove outdated stats-webpack-plugin note (#7588)
snitin315 Mar 17, 2025
03a4efc
ci: update dependabot.yml (#7592)
snitin315 Mar 18, 2025
1ff902c
feat: add tooltip for theme switcher (#7590)
snitin315 Mar 18, 2025
a77a85b
Update contents
dkstyle Mar 27, 2025
1237b6f
docs: move from webpack init to create-webpack-app (#7603)
ibakirov Apr 17, 2025
2bc9c04
chore: enable ssl verification for fetch-supporters (#7607)
snitin315 Apr 19, 2025
6938ec9
ci: fix vale action (#7608)
snitin315 Apr 19, 2025
0fee4de
chore(deps): bump http-proxy-middleware from 2.0.7 to 2.0.9 (#7609)
dependabot[bot] Apr 19, 2025
8853445
fix: remove gitter link from footer (#7610)
snitin315 Apr 19, 2025
4708670
docs: added working Discord link in contribute page (#7599)
shellyverma Apr 19, 2025
2b4b512
docs: added a more detailed example for tree-shaking clarification (#…
Vansh5632 Apr 19, 2025
b11bab5
chore: disable warnings in overlay (#7611)
snitin315 Apr 19, 2025
850225e
fix: alignment of navigation icons (#7612)
chenxsan Apr 19, 2025
5d648f1
feat: add Discord link in footer (#7614)
snitin315 Apr 20, 2025
d96f384
fix: use "contributed" instead of "pledged" for sponsors (#7615)
snitin315 Apr 20, 2025
dddbdcd
Update contents
dkstyle Apr 21, 2025
91b8ace
docs: migrate codemod typos and commands (#7618)
mohab-sameh Apr 23, 2025
02cdb4f
Update contents
dkstyle Apr 25, 2025
6f4cae6
docs(configuration): add `stats.errorCause` & `stats.errorErrors` (#7…
snitin315 Apr 30, 2025
056da32
Merge branch 'main' of https://github.com/webpack/webpack.js.org into…
dkstyle May 1, 2025
2309192
Update contetns
dkstyle May 1, 2025
cecc48f
docs: update reference link in lazy-loading (#7624)
oussamaBGZ May 22, 2025
45fe242
Merge branch 'main' of https://github.com/webpack/webpack.js.org into…
dkstyle May 27, 2025
cc4785f
docs: fix typo
karlhorky Jun 1, 2025
7562930
Update contents
dkstyle Jun 4, 2025
bf31f6a
docs: troubleshooting tips on `Cannot read properties`
EvanSanderson Jun 12, 2025
bdeae66
Update contents
dkstyle Jun 19, 2025
251cecb
Update contents
dkstyle Jun 23, 2025
0476428
Merge branch 'kr' into merge-sync-202506
dkstyle Jun 23, 2025
34ef7cb
Update upstream readme.md
dkstyle Jun 23, 2025
c698f05
Merge branch 'kr' into merge-sync-202506
dkstyle Jun 23, 2025
c10f8d0
docs: add deferImport (#7638)
Jack-Works Jul 8, 2025
154cf04
Update contents
dkstyle Jul 9, 2025
d4ceaf5
fix: close tooltip on link redirect (#7640)
snitin315 Jul 12, 2025
a5de00e
chore: update dependencies (#7641)
snitin315 Jul 15, 2025
9dbe406
Merge branch 'main' of https://github.com/webpack/webpack.js.org into…
dkstyle Jul 16, 2025
67ff4fa
docs: add VirtualUrlPlugin (#7627)
xiaoxiaojx Jul 16, 2025
8f9a1a7
Merge branch 'main' of https://github.com/webpack/webpack.js.org into…
dkstyle Jul 17, 2025
1ed4a95
Update translation
dkstyle Jul 17, 2025
6bc0796
docs: fixed grammar issue (#7643)
JamesHoran Jul 25, 2025
db12ec3
Update contents
dkstyle Jul 29, 2025
bed07be
chore(deps): bump tmp from 0.2.3 to 0.2.4 (#7645)
dependabot[bot] Aug 9, 2025
dae2e83
Merge branch 'main' of https://github.com/webpack/webpack.js.org into…
dkstyle Aug 12, 2025
d29e103
chore(deps): bump actions/checkout from 4 to 5 (#7646)
dependabot[bot] Aug 12, 2025
534a617
docs: update fetchPriority link (#7648)
henryqdineen Aug 13, 2025
7ed1c35
Update contents
dkstyle Aug 18, 2025
0d483f8
chore(deps): bump actions/setup-node from 4 to 5 (#7655)
dependabot[bot] Sep 9, 2025
790173b
fix: discord footer (#7657)
Netail Sep 11, 2025
688a9d6
docs: grunt-webpack mention change (#7658)
evenstensberg Sep 15, 2025
650b07a
Update contents
dkstyle Sep 16, 2025
ba8355a
Update contents
dkstyle Sep 26, 2025
2a4aab7
Merge branch 'kr' into merge-sync-202512
dkstyle Sep 26, 2025
7393225
docs: v5.102.0 (#7661)
alexander-akait Oct 1, 2025
d296e68
docs: update sass loader links (#7664)
evenstensberg Oct 5, 2025
f57f360
chore: get sass-loader from webpack org (#7666)
evenstensberg Oct 5, 2025
1358332
trigger ci (#7669)
evenstensberg Oct 6, 2025
72669cb
Update contents
dkstyle Oct 7, 2025
d66124d
chore: new less loader link (#7671)
evenstensberg Oct 7, 2025
b48ccc6
chore: update links from contrib to main org (#7672)
evenstensberg Oct 7, 2025
94ed158
chore: migrate from contrib to main in stylus-loader (#7674)
evenstensberg Oct 7, 2025
35e33ae
chore: migrate plugin from core to main org (#7676)
evenstensberg Oct 8, 2025
a77f7fb
chore: webpack/contrib/terser -> webpack/terser (#7678)
evenstensberg Oct 9, 2025
87f3fa5
chore: remove outdated templates (#7680)
evenstensberg Oct 11, 2025
fd94d2a
chore: update module-methods.mdx (#7681)
evenstensberg Oct 11, 2025
d803b54
docs: update example <script> loading strategy (#7663)
zowiebeha Oct 11, 2025
74afb86
Update contents
dkstyle Oct 12, 2025
ae09900
docs(contributing): add instructions to generate github token (#7652)
brunocroh Oct 12, 2025
f8a5d3e
Merge branch 'main' of https://github.com/webpack/webpack.js.org into…
dkstyle Oct 14, 2025
42f04ef
docs: update module-methods
adriancuadrado Oct 20, 2025
601e21b
Merge branch 'main' of https://github.com/webpack/webpack.js.org into…
dkstyle Oct 21, 2025
da84396
chore(deps): bump actions/setup-node from 5 to 6 (#7684)
dependabot[bot] Oct 21, 2025
fb30446
Added governance content fetch automation with workflow integration (…
Jatinyadav29 Oct 21, 2025
468e5a8
Update changes
dkstyle Oct 22, 2025
9a0b6e7
chore: new url for copy-webpack-plugin (#7685)
evenstensberg Oct 24, 2025
6d421e4
chore: new url for remark loader contrib -> main (#7686)
evenstensberg Oct 24, 2025
172d5fc
chore: new url for stylelint (#7687)
evenstensberg Oct 24, 2025
944a231
chore: new url for hmr repo (#7688)
evenstensberg Oct 24, 2025
afb19b5
chore: new path for bundle analyzer (#7689)
evenstensberg Oct 24, 2025
f32d55c
chore: replace old urls (#7690)
evenstensberg Oct 24, 2025
4f154ca
Update changes
dkstyle Oct 31, 2025
59fee50
docs(guides): fix capitalization in getting-started.mdx (#7693)
Aashutosh31 Nov 7, 2025
909c3d7
Update changes
dkstyle Nov 8, 2025
05a40ba
docs: fix duplicate word typos in documentation (#7697)
Rupendra0 Nov 11, 2025
e3d8202
docs: fix spelling error 'accomodate' to 'accommodate' (#7695)
Rupendra0 Nov 11, 2025
60fe292
docs: fix assorted typos across docs
Rupendra0 Nov 11, 2025
6fe2314
docs: fix duplicate word typos in documentation
Rupendra0 Nov 11, 2025
6289455
Update changes
dkstyle Nov 14, 2025
13a1396
chore(docs): remove old sponsor (#7702)
evenstensberg Nov 14, 2025
48e4c30
Update contents
dkstyle Nov 16, 2025
fd48e58
chore(ci): harden (#7706)
avivkeller Nov 23, 2025
0dac331
chore(deps): bump min-document from 2.19.0 to 2.19.2 (#7707)
dependabot[bot] Nov 23, 2025
7ee1ada
test: enable offline test by renaming file to correct pattern (#7696)
Rupendra0 Nov 24, 2025
53bb91a
docs: add dotenv plugin
xiaoxiaojx Nov 26, 2025
17aa07d
docs: v5.103.0 (#7711)
alexander-akait Nov 26, 2025
c6ec6bc
chore(deps): bump node-forge from 1.3.1 to 1.3.2 (#7712)
dependabot[bot] Nov 27, 2025
589c935
Update changes
dkstyle Nov 27, 2025
a859968
docs: remove CommonsChunkPlugin (#7715)
alexander-akait Nov 27, 2025
539ccb2
fix: do not fetch webpack contrib (#7716)
alexander-akait Nov 27, 2025
a112cd9
docs(guides): clarify Web Workers usage with publicPath from variable
ogonkov Nov 27, 2025
3945e33
Update contents
dkstyle Nov 28, 2025
5ccaae4
docs: clarify Webpack 5 minimum Node.js version wording (#7718)
KhushiYadav-26 Nov 29, 2025
3cb13c0
feat: implement copy button UI (#7698) (#7710)
Rajankannaujiya Nov 29, 2025
e478a5c
fix(output): remove copy button for now (#7719)
evenstensberg Nov 29, 2025
f655b9d
Update changes
dkstyle Nov 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .github/CODE_OF_CONDUCT.md

This file was deleted.

9 changes: 9 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,21 @@ Start by ensuring that you have Node.js installed and forking the repository:
- Fork the **webpack.js.org** repo from [the main repository][2].
- `git clone <your-clone-url> && cd webpack.js.org`

> To run the project, you must run scripts that download the website content from GitHub.
> To avoid hitting rate limits, you'll need to use your GitHub token.
> The build scripts (`fetch-repo` and `fetch:*` commands) use this token to retrieve repository data,
> including documentation, examples, and contributors.
> If you do not have one, you can create it on the [GitHub Personal Access Tokens page](https://github.com/settings/personal-access-tokens).

Once you are in the project directory, run the following commands:

- `yarn` to pull all dependencies.
- `GITHUB_TOKEN=<your-token-here> yarn fetch-all` - Fetches all updated website content from GitHub.
- `yarn build` to create a production version of the site.
- `yarn start` to develop on a local webpack-dev-server: [localhost:3000][3].

**Note:** The `fetch` and `fetch-repos` commands must be run before building the site as they populate necessary data for the build process.

> NOTE: run `yarn fetch-repos` and then `yarn fetch` before running `yarn start` command for the first time

- `yarn fetch` to retrieve external documentation/data.
Expand Down
2 changes: 0 additions & 2 deletions .github/FUNDING.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/actions/webpack-persistent-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ outputs:
runs:
using: composite
steps:
- uses: actions/cache@v4
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
id: build-webpack-persistent-cache
with:
path: node_modules/.cache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v5
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: 'Dependency Review'
uses: actions/dependency-review-action@v4
uses: actions/dependency-review-action@3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261 # v4.8.2
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
node-version: [lts/*]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v5
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: ${{ matrix.node-version }}
cache: yarn
Expand All @@ -35,7 +35,7 @@ jobs:
- run: yarn lint:links

- name: Deploy
uses: JamesIves/[email protected].3
uses: JamesIves/github-pages-deploy-action@4a3abc783e1a24aeb44c16e869ad83caf6b4cc23 # v4.7.4
with:
token: ${{ secrets.GITHUB_TOKEN }}
folder: dist
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
node-version: [lts/*]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v5
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: ${{ matrix.node-version }}
cache: yarn
Expand All @@ -35,10 +35,10 @@ jobs:
node-version: [lts/*]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v5
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: ${{ matrix.node-version }}
cache: yarn
Expand All @@ -55,10 +55,10 @@ jobs:
node-version: [lts/*]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v5
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: ${{ matrix.node-version }}
cache: yarn
Expand All @@ -67,7 +67,7 @@ jobs:
run: npm install -g mdx2vast

- name: Vale
uses: errata-ai/[email protected]
uses: errata-ai/vale-action@d89dee975228ae261d22c15adcd03578634d429c # v2.1.1
with:
files: src/content
env:
Expand All @@ -81,10 +81,10 @@ jobs:
node-version: [lts/*]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v5
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: ${{ matrix.node-version }}
cache: yarn
Expand All @@ -95,7 +95,7 @@ jobs:
uses: ./.github/actions/webpack-persistent-cache

- name: Cypress run
uses: cypress-io/github-action@v6
uses: cypress-io/github-action@7ef72e250a9e564efb4ed4c2433971ada4cc38b4 # v6.10.4
with:
browser: chrome
config-file: cypress.config.js
Expand Down
File renamed without changes.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@
"fetch": "run-p fetch:*",
"fetch:readmes": "node src/utilities/fetch-package-readmes.mjs",
"fetch:supporters": "node src/utilities/fetch-supporters.mjs",
"fetch:governance": "node src/utilities/fetch-governance.mjs",
"fetch-all": "run-s fetch-repos fetch",
"prebuild": "npm run clean",
"build": "run-s fetch-repos fetch content && webpack --config webpack.prod.mjs --config-node-env production && run-s printable content && webpack --config webpack.ssg.mjs --config-node-env production --env ssg",
"build": "run-s fetch-repos fetch:governance fetch content && webpack --config webpack.prod.mjs --config-node-env production && run-s printable content && webpack --config webpack.ssg.mjs --config-node-env production --env ssg",
"postbuild": "npm run sitemap",
"build-test": "npm run build && http-server --port 4200 dist/",
"serve-dist": "http-server --port 4200 dist/",
Expand All @@ -47,7 +49,7 @@
"lint:markdown": "npm run lint-markdown '**/*.{md,mdx}'",
"lint-markdown": "markdownlint --config ./.markdownlint.json",
"lint:prose": "vale --config='.vale.ini' src/content",
"lint:links": "hyperlink -c 8 --root dist -r dist/index.html --canonicalroot https://webpack.kr/ --internal --skip '%E' --skip /plugins/extract-text-webpack-plugin/ --skip /printable --skip https:// --skip http:// --skip sw.js --skip /vendor > internal-links.tap; cat internal-links.tap | tap-spot",
"lint:links": "hyperlink -c 8 --root dist -r dist/index.html --canonicalroot https://webpack.kr/ --internal --skip '%E' --skip /plugins/extract-text-webpack-plugin/ --skip /printable --skip /contribute/Governance --skip https:// --skip http:// --skip sw.js --skip /vendor > internal-links.tap; cat internal-links.tap | tap-spot",
"sitemap": "cd dist && sitemap-static --ignore-file=../sitemap-ignore.json --pretty --prefix=https://webpack.kr/ > sitemap.xml",
"serve": "npm run build && sirv start ./dist --port 4000",
"preprintable": "npm run clean-printable",
Expand Down
72 changes: 72 additions & 0 deletions src/components/CodeBlockWithCopy/CodeBlockWithCopy.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
import { useRef, useState } from 'react';
import PropTypes from 'prop-types';
import './CodeBlockWithCopy.scss';

export default function CodeBlockWithCopy({ children }) {
const preRef = useRef(null);
const [copyStatus, setCopyStatus] = useState('copy');

const handleCopy = async () => {
if (!preRef.current) return;

const codeElement = preRef.current.querySelector('code');
if (!codeElement) return;

const codeText = codeElement.textContent;
let successfulCopy = false;

// Try modern API (navigator.clipboard) -> as document.execCommand() deprecated
try {
if (navigator.clipboard && window.isSecureContext) {
await navigator.clipboard.writeText(codeText);
successfulCopy = true;
}
} catch (err) {
console.log(err);
}

// If modern API failed, fall back to deprecated document.execCommand('copy')
if (!successfulCopy) {
const textarea = document.createElement('textarea');
textarea.value = codeText;
textarea.style.position = 'fixed';
textarea.style.opacity = '0';

document.body.appendChild(textarea);
textarea.select();

try {
// This deprecated method is kept as a fallback for compatibility/iframe environments.
successfulCopy = document.execCommand('copy');
} catch (err) {
successfulCopy = false;
console.log(err);
}

document.body.removeChild(textarea);
}

setCopyStatus(successfulCopy ? 'copied' : 'error');
setTimeout(() => setCopyStatus('copy'), 2000);
};

return (
<div className="code-block-wrapper">
<button onClick={handleCopy} className={`copy-button ${copyStatus}`}>
{copyStatus === 'copied'
? 'Copied!'
: copyStatus === 'error'
? 'Error'
: 'Copy'}
</button>

<pre ref={preRef} className="code-block">
{children}
</pre>
</div>
);
}

CodeBlockWithCopy.propTypes = {
children: PropTypes.node.isRequired,
};
74 changes: 74 additions & 0 deletions src/components/CodeBlockWithCopy/CodeBlockWithCopy.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
.code-block-wrapper {
position: relative;
margin-bottom: 1.5rem;
}

.code-block {
background-color: #2d3748;
color: #e2e8f0;
padding: 1rem;
padding-right: 3.5rem;
border-radius: 0.5rem;
overflow-x: auto;
font-size: 0.875rem;
line-height: 1.5;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);

code {
font-family: monospace;
}
}

.copy-button {
position: absolute;
top: 0.32rem;
right: 0.5rem;
z-index: 10;

padding: 0.4rem 0.7rem;
border-radius: 0.35rem;

border: none;
cursor: pointer;

font-size: 0.75rem;
font-weight: 500;

/* Always visible */
opacity: 1;

background-color: #7c3aed;
color: #e2e8f0;

transition:
background-color 0.2s,
transform 0.1s;

&:hover {
background-color: #6d28d9;
}

/* Success */
&.copied {
background-color: #38a169;
}
&.copied:hover {
background-color: #2f855a;
}

/* Error */
&.error {
background-color: #e53e3e;
}
&.error:hover {
background-color: #c53030;
}

&:focus {
outline: none;
}

&:active {
transform: scale(0.95);
}
}
2 changes: 1 addition & 1 deletion src/content/api/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ npx webpack --json
npx webpack --json stats.json
```

다른 모든 경우에 webpack은 번들, 청크 및 타이밍 세부 정보를 보여주는 일련의 통계를 출력합니다. 이 옵션을 사용하면 출력이 JSON 객체가 될 수 있습니다. webpack의 [분석 도구](https://webpack.github.io/analyse/), chrisbateman의 [webpack-visualizer](https://chrisbateman.github.io/webpack-visualizer/) 또는 th0r의 [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer) 에서 이 응답이 수락됩니다. 이러한 분석 도구는 JSON을 가져와서 빌드의 모든 세부 정보를 그래픽 형식으로 제공합니다.
다른 모든 경우에 webpack은 번들, 청크 및 타이밍 세부 정보를 보여주는 일련의 통계를 출력합니다. 이 옵션을 사용하면 출력이 JSON 객체가 될 수 있습니다. webpack의 [분석 도구](https://webpack.github.io/analyse/), chrisbateman의 [webpack-visualizer](https://chrisbateman.github.io/webpack-visualizer/) 또는 th0r의 [webpack-bundle-analyzer](https://github.com/webpack/webpack-bundle-analyzer) 에서 이 응답이 수락됩니다. 이러한 분석 도구는 JSON을 가져와서 빌드의 모든 세부 정보를 그래픽 형식으로 제공합니다.

T> 여기에서 생성된 통계에 대한 자세한 내용은 [통계 데이터 api](/api/stats)를 참고하세요.

Expand Down
3 changes: 2 additions & 1 deletion src/content/api/loaders.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ contributors:
- chenxsan
- jamesgeorge007
- alexeyr
- evenstensberg
translators:
- 1ilsang
---
Expand Down Expand Up @@ -226,7 +227,7 @@ addDependency(file: string)
dependency(file: string) // 단축
```

기존 파일을 감시할 수 있게 만들기 위해 로더 결과의 의존성으로 파일을 추가합니다. 예를 들어, [`sass-loader`](https://github.com/webpack-contrib/sass-loader), [`less-loader`](https://github.com/webpack-contrib/less-loader)는 가져온 `css` 파일이 변경될 때마다 이를 사용하여 재컴파일합니다.
기존 파일을 감시할 수 있게 만들기 위해 로더 결과의 의존성으로 파일을 추가합니다. 예를 들어, [`sass-loader`](https://github.com/webpack/sass-loader), [`less-loader`](https://github.com/webpack/less-loader)는 가져온 `css` 파일이 변경될 때마다 이를 사용하여 재컴파일합니다.

### this.addMissingDependency

Expand Down
8 changes: 6 additions & 2 deletions src/content/api/module-methods.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ contributors:
- jamesgeorge007
- WofWca
- snitin315
- adriancuadrado
related:
- title: CommonJS Wikipedia
url: https://en.wikipedia.org/wiki/CommonJS
Expand Down Expand Up @@ -99,7 +100,8 @@ W> 이 기능은 내부적으로 [`Promise`](https://developer.mozilla.org/en-US

`import(foo)`와 같은 완전히 동적인 import 문을 사용하는 것은 불가능합니다. `foo`는 잠재적으로 시스템이나 프로젝트의 모든 파일에 대한 경로가 될 수 있기 때문입니다.

`import()`는 최소한 모듈 위치에 대한 정보를 포함해야 합니다. 번들링은 특정 디렉터리 또는 파일 집합으로 제한될 수 있습니다. 그러므로 동적 표현 식을 사용할 때 `import()` 호출 시 잠재적으로 요청 가능한 모든 모듈이 포함됩니다. 예를 들어 ``import(`./locale/${language}.json`)``은 `./locale` 디렉터리의 모든 `.json` 파일을 새로운 청크로 번들합니다. 런타임에 `language` 변수가 계산되면 `english.json` 또는 `german.json`과 같은 모든 파일이 사용 가능하게 됩니다.
`import()`는 최소한 모듈 위치에 대한 정보를 포함해야 합니다. 번들링은 특정 디렉터리 또는 파일 집합으로 제한될 수 있습니다. 그러므로 동적 표현 식을 사용할 때 `import()` 호출 시 잠재적으로 요청 가능한 모든 모듈이 포함됩니다.
예를 들어, ``import(`./locale/${language}.json`)``는 `./locale` 디렉터리와 하위 디렉터리에 있는 모든 `.json` 파일만 새 청크로 묶고 다른 파일 확장자를 가진 파일은 제외합니다. 런타임에 `language` 변수가 계산되면 `english.json`이나 `german.json`과 같은 모든 파일을 사용할 수 있습니다.

```javascript
// 쿠키나 다른 저장소에서 언어를 가져오는 방법이 있다고 상상해 보세요.
Expand All @@ -113,7 +115,7 @@ T> [`webpackInclude` 및 `webpackExclude`](/api/module-methods/#magic-comments)

#### Magic Comments

기능을 작동시키기 위한 인라인 주석입니다. 가져오기에 주석을 추가하여 청크의 이름을 지정하거나 다른 모드를 선택하는 등의 여러 작업을 할 수 있습니다. 이 특별한 주석의 전체 목록과 주석이 수행하는 작업은 아래 코드와 설명을 참고하세요.
가져오기에 주석을 추가하여 청크의 이름을 지정하거나 다른 모드를 선택하는 등의 여러 작업을 할 수 있습니다. 이 특별한 주석의 전체 목록과 주석이 수행하는 작업은 아래 코드와 설명을 참고하세요.

```js
// 단일 대상
Expand All @@ -139,6 +141,8 @@ import(
import(/* webpackIgnore: true */ 'ignored-module.js');
```

T> Single line comments (`//`) are also supported. JSDoc comments (`/** */`) are not.

##### webpackIgnore

**JavaScript Usage**
Expand Down
1 change: 1 addition & 0 deletions src/content/api/normalmodulefactory-hooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,4 @@ NormalModuleFactory.hooks.someHook.for('identifier').tap(/* ... */);
5. `asset/source`
6. `asset/resource`
7. `asset/inline`
8. `asset/bytes`
1 change: 1 addition & 0 deletions src/content/api/plugins.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ contributors:
- EugeneHlushko
- wizardofhogwarts
- snitin315
- evenstensberg
translators:
- Eunbin-Kim
---
Expand Down
Loading
Loading