Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
7443 commits
Select commit Hold shift + click to select a range
eee207d
docs(configuration): add `output.environment.asyncFunction` (#7122)
snitin315 Jan 27, 2024
234a37d
ci: use composite action for webpack persistent caching (#7077)
jongwooo Jan 27, 2024
028143f
Update contents
dkstyle Jan 28, 2024
87859f6
docs(configuration): update optimization.removeAvailableModules (#7130)
snitin315 Feb 5, 2024
04c0df1
docs: update splitChunks maxSize/minSize/maxRequest priority (#7123)
hai-x Feb 11, 2024
e3156d5
docs(plugins): add ChunksWebpackPlugin (#6798)
yoriiis Feb 13, 2024
36cf4df
fix: update AG Grid Sponsor Section (#7134)
JamesSwinton Feb 14, 2024
8bc95bc
chore(deps): bump errata-ai/vale-action from 2.0.1 to 2.1.0 (#7135)
dependabot[bot] Feb 14, 2024
2f761f0
Update contents
dkstyle Feb 14, 2024
a960640
docs: fix typo in __dirname and __filename options (#7139)
monkbroc Feb 15, 2024
79f4538
Update contents
dkstyle Feb 19, 2024
3beb903
docs: update output.assetModuleFilename type (#7145)
snitin315 Feb 20, 2024
ebda040
docs: add `output.cssFilename` & `output.cssChunkFilename` (#7146)
snitin315 Feb 21, 2024
3aea515
ci: minimum supported Node.js version is 18.12.0 (#7147)
snitin315 Feb 21, 2024
273fb24
docs(configuration): dev-server v5 changes (#7144)
snitin315 Feb 21, 2024
93a1470
docs(configuration): clarify `devtool` disabling (#7149)
rikhuijzer Feb 22, 2024
778e923
chore: update dev dependencies (#7150)
snitin315 Feb 23, 2024
ebc80a8
docs(configuration): update `output.trustedTypes` (#7152)
snitin315 Feb 23, 2024
0ef46b6
docs(configuration): add `output.importMetaName` (#7153)
snitin315 Feb 23, 2024
a6d818c
docs(configuration): add `output.webassemblyModuleFilename` (#7154)
snitin315 Feb 23, 2024
c8d1cbd
docs: remove obselete webpack v4 notes (#7155)
snitin315 Feb 23, 2024
7af2725
docs(configuration): add `output.workerWasmLoading` (#7156)
snitin315 Feb 23, 2024
0a32eeb
docs(configuration): update stats.mdx (#7157)
snitin315 Feb 24, 2024
cc5fdc6
docs: improve wordings (#7158)
snitin315 Feb 24, 2024
78effa2
docs(migrate): add link to configuration changes (#7159)
snitin315 Feb 24, 2024
72c6288
docs: add note for non extensibility of hooks (#7160)
snitin315 Feb 24, 2024
c23b27c
Update contents
dkstyle Feb 27, 2024
8a0f1dc
docs(configuration): add css generator exportsConvention and localIde…
ahabhgk Mar 5, 2024
586fa7a
Update contents
dkstyle Mar 11, 2024
cec21a9
docs: replace outdated references to libraryTarget with library.type …
tanyabouman Mar 13, 2024
24adf1c
docs: add library config changes to migration guide (#7175)
jacalata Mar 14, 2024
2cd0425
chore(deps): bump follow-redirects from 1.15.5 to 1.15.6 (#7185)
dependabot[bot] Mar 17, 2024
ab228c9
Update contents
dkstyle Mar 18, 2024
04f3fcb
docs(dll-plugin): add warning to dll-plugin. (#7187)
cwj0417 Mar 18, 2024
9b6d81a
Update contents
dkstyle Mar 21, 2024
8b55df0
chore(deps): bump webpack-dev-middleware from 7.0.0 to 7.1.1 (#7192)
dependabot[bot] Mar 22, 2024
3357d3a
docs(configuration): fix typo in UseEntry (#7179)
BaffinLee Mar 22, 2024
ae0ee49
docs: fix incorrect sentence (#7177)
thijmv Mar 22, 2024
1e062d9
chore: update dev dependencies (#7195)
snitin315 Mar 22, 2024
629ab2a
docs(plugins): add `stage` option for `BannerPlugin` (#7196)
snitin315 Mar 22, 2024
66bbec8
docs(configuration): add entry[x].runtime (#7173)
hai-x Mar 22, 2024
357539c
docs(configuration): add output.cssHeadDataCompression (#7172)
ahabhgk Mar 22, 2024
05839e5
docs: add version badge for output.cssHeadDataCompression (#7198)
snitin315 Mar 22, 2024
b11f6f8
docs: update `node` option type (#7199)
snitin315 Mar 22, 2024
6e18b81
docs: add `optimization.checkWasmTypes` (#7200)
snitin315 Mar 22, 2024
6816201
docs: sort resolve options (#7201)
snitin315 Mar 23, 2024
9680ca8
docs(configuration): add `resolve.cache` (#7202)
snitin315 Mar 23, 2024
55a4b59
docs(configuration): add `resolve.fullySpecified` (#7203)
snitin315 Mar 23, 2024
2b1eb96
docs: sort `stats` options (#7204)
snitin315 Mar 23, 2024
87756b9
docs(configuration): update `module.noParse` (#7205)
snitin315 Mar 23, 2024
0fce46e
docs(configuration): update stats.colors type (#7206)
snitin315 Mar 23, 2024
8ddd391
docs(configuration): fix stats.entrypoints & stats.errorDetails type …
snitin315 Mar 23, 2024
fd9d03a
chore: upgrade @octokit/auth-action to v5 (#7208)
snitin315 Mar 23, 2024
9b95f35
docs(configuration): move `infrastructureLogging` to its own page (#7…
snitin315 Mar 24, 2024
752730c
docs(api): add `Compilation.hooks.statsPreset` (#7211)
snitin315 Mar 24, 2024
b618619
docs(api): add `Compilation.hooks.statsNormalize` (#7212)
snitin315 Mar 24, 2024
45c21ce
docs(ModuleFederationPlugin): update requiredVersion description (#7213)
snitin315 Mar 24, 2024
935fd0c
docs(contribute): add data sharing info among chained loaders (#7214)
snitin315 Mar 24, 2024
edfc063
docs(api): add `Compilation.hooks.statsFactory` (#7215)
snitin315 Mar 25, 2024
82f5652
docs(api): add `Compilation.hooks.statsPrinter` (#7216)
snitin315 Mar 25, 2024
cfdec00
Update contents
dkstyle Mar 26, 2024
a349f49
Update contents
dkstyle Apr 13, 2024
d4eb7ca
docs: add Transform Async Modules Plugin to awesome list (#7235)
steverep Apr 22, 2024
f6272cc
Merge branch 'main' of https://github.com/webpack/webpack.js.org into…
dkstyle Apr 23, 2024
c88d1d2
Merge branch 'kr' into merge-sync-202404
dkstyle May 10, 2024
df962ce
--- (#7260)
dependabot[bot] May 22, 2024
e20025d
docs: optimization.realContentHash default value (#7255)
hai-x May 22, 2024
497ba79
chore(deps): bump ejs from 3.1.7 to 3.1.10 (#7247)
dependabot[bot] May 27, 2024
799962e
docs: update webpack 5 notification message (#7263)
srittau May 27, 2024
83231b6
chore(deps): bump express from 4.18.1 to 4.19.2 (#7218)
dependabot[bot] May 27, 2024
5043dbe
Update contents
dkstyle May 28, 2024
2f5604c
Update module-federation.mdx (#7220)
GersonEC May 29, 2024
21d571d
chore: upgrade dev dependencies (#7268)
snitin315 Jun 4, 2024
be6b427
chore: upgrade cypress (#7270)
snitin315 Jun 4, 2024
489aeaa
docs(configuration): add `output.environment.nodePrefixForCoreModules…
snitin315 Jun 4, 2024
bedb85b
docs(api): update `--define-process-env-node-env` usage (#7273)
snitin315 Jun 5, 2024
70e7dbc
docs(guides): clarify SplitChunksPlugin behavior (#7275)
snitin315 Jun 5, 2024
6a86e2d
docs: add module.parser.css.namedExports (#7274)
snitin315 Jun 7, 2024
0a00d2a
docs(plugins): update append option usage (#7278)
snitin315 Jun 8, 2024
2e2de6e
Update contents
dkstyle Jun 10, 2024
e244aa3
docs: add `devServer.app` (#7277)
snitin315 Jun 10, 2024
379a476
docs: add warning for `!` usage in `output.path` (#7281)
snitin315 Jun 14, 2024
76eeef1
chore(deps): bump braces from 3.0.2 to 3.0.3 (#7282)
dependabot[bot] Jun 17, 2024
4e37048
Merge branch 'main' of https://github.com/webpack/webpack.js.org into…
dkstyle Jun 17, 2024
a176654
Update contents
dkstyle Jun 17, 2024
639de3f
chore(deps): bump ws from 7.5.3 to 7.5.10 (#7284)
dependabot[bot] Jun 19, 2024
229d0f7
Merge branch 'main' of https://github.com/webpack/webpack.js.org into…
dkstyle Jun 23, 2024
d51582c
deps: upgrade remark (#7289)
chenxsan Jun 25, 2024
c2f994d
chore: clean up dependabot (#7292)
chenxsan Jun 25, 2024
cf2b165
chore(deps): bump the dependencies group across 1 directory with 22 u…
dependabot[bot] Jun 25, 2024
7000ed7
docs(Concepts): Replaced correct es5 compat-table link (#7295)
rohitaryal Jun 30, 2024
83c68cd
Update contetents
dkstyle Jul 1, 2024
ac2b4f8
chore(deps-dev): bump postcss in the dependencies group (#7296)
dependabot[bot] Jul 2, 2024
43c8468
chore(deps-dev): bump the dependencies group with 2 updates (#7297)
dependabot[bot] Jul 3, 2024
cc1581d
chore(deps): bump react-router-dom in the dependencies group (#7299)
dependabot[bot] Jul 4, 2024
11614eb
docs: add a comma (#7300)
neeko-cat Jul 7, 2024
7433170
chore(deps): bump JamesIves/github-pages-deploy-action (#7301)
dependabot[bot] Jul 8, 2024
937377f
chore(deps-dev): bump rimraf in the dependencies group (#7302)
dependabot[bot] Jul 8, 2024
a1c0d6d
docs(configuration): update resolve.unsafeCache (#7303)
chenxsan Jul 9, 2024
ba7dd14
Update contents
dkstyle Jul 10, 2024
8729c4f
chore(deps): bump fast-loops from 1.1.3 to 1.1.4 (#7307)
dependabot[bot] Jul 10, 2024
5c2da23
Merge branch 'main' of https://github.com/webpack/webpack.js.org into…
dkstyle Jul 11, 2024
dc12545
docs(configuration): document overrideStrict (#7309)
chenxsan Jul 12, 2024
d6e45b2
docs(configuration): document commonjs-module (#7305)
chenxsan Jul 12, 2024
512008a
chore(deps-dev): bump the dependencies group across 1 directory with …
dependabot[bot] Jul 12, 2024
2ec1209
bump node engines (#7312)
chenxsan Jul 13, 2024
f2d88fa
docs(api): Add an example for utils.createHash (#7313)
JLHwung Jul 16, 2024
c04b80d
chore(deps-dev): bump the dependencies group with 5 updates (#7314)
dependabot[bot] Jul 16, 2024
0066b3c
chore(deps): bump the dependencies group with 3 updates (#7315)
dependabot[bot] Jul 17, 2024
148ceea
Update contents
dkstyle Jul 18, 2024
562d56f
chore(deps): bump the dependencies group with 7 updates (#7321)
dependabot[bot] Jul 23, 2024
cff1ab4
chore(deps-dev): bump sass-loader in the dependencies group (#7325)
dependabot[bot] Jul 24, 2024
c44071d
upgrade eslint (#7322)
chenxsan Jul 25, 2024
55320f8
chore(deps-dev): bump the dependencies group with 4 updates (#7327)
dependabot[bot] Jul 26, 2024
5907138
clean up pre-commit (#7329)
chenxsan Jul 27, 2024
3cb25a9
deps: upgrade sass loader (#7331)
chenxsan Jul 27, 2024
5b14579
chore(deps-dev): bump the dependencies group across 1 directory with …
dependabot[bot] Jul 27, 2024
9e4d409
docs: update required Node.js version in CONTRIBUTING.md (#7336)
snitin315 Jul 28, 2024
10e9aef
docs(configuration): add `binary` option for module.generator (#7334)
snitin315 Jul 28, 2024
8e94eb9
chore: update husky configs (#7337)
snitin315 Jul 28, 2024
903237a
docs(configuration): add note for `output.chunkFilename` (#7335)
snitin315 Jul 28, 2024
7ae832c
docs(configuration): fix typo (#7338)
chenxsan Jul 29, 2024
2201a92
chore(deps-dev): bump the dependencies group with 2 updates (#7339)
dependabot[bot] Jul 30, 2024
29bcad7
chore(deps-dev): bump the dependencies group with 2 updates (#7341)
dependabot[bot] Jul 31, 2024
17bc37d
docs(awesome): add pwa-manifest-loader (#7340)
autopulated Jul 31, 2024
3669c43
chore(deps-dev): bump the dependencies group with 2 updates (#7343)
dependabot[bot] Jul 31, 2024
6ca0e89
chore(deps): bump the dependencies group with 2 updates (#7344)
dependabot[bot] Aug 2, 2024
41dc6bc
Update contents
dkstyle Aug 3, 2024
6a66cb1
Update contents
dkstyle Aug 3, 2024
183a794
chore(deps-dev): bump the dependencies group with 2 updates (#7346)
dependabot[bot] Aug 5, 2024
82e0f21
update twitter to x (#7347)
chenxsan Aug 6, 2024
fa43343
chore(deps-dev): bump the dependencies group with 2 updates (#7349)
dependabot[bot] Aug 6, 2024
79f357c
chore(deps-dev): bump tailwindcss in the dependencies group (#7350)
dependabot[bot] Aug 7, 2024
d45e492
chore(deps-dev): bump tailwindcss in the dependencies group (#7351)
dependabot[bot] Aug 9, 2024
c306898
Merge branch 'kr' into merge-sync-202407
dkstyle Aug 9, 2024
196b899
Merge branch 'main' of https://github.com/webpack/webpack.js.org into…
dkstyle Aug 9, 2024
113e150
chore(deps-dev): bump the dependencies group with 2 updates (#7352)
dependabot[bot] Aug 13, 2024
ecf45df
docs(Plugins): Replace overkill regex with a much simpler one (#7353)
askoufis Aug 13, 2024
08f6843
chore(deps-dev): bump lint-staged in the dependencies group (#7354)
dependabot[bot] Aug 14, 2024
c0bac6f
chore(deps-dev): bump the dependencies group with 2 updates (#7356)
dependabot[bot] Aug 15, 2024
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
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
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [latest]
node-version: [lts/*]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -35,7 +35,7 @@ jobs:
- run: yarn lint:links

- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.6.8
uses: JamesIves/github-pages-deploy-action@v4.7.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
folder: dist
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [latest]
node-version: [lts/*]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -32,7 +32,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [latest]
node-version: [lts/*]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -51,14 +51,13 @@ jobs:
name: Proselint
strategy:
matrix:
# TODO remove after https://github.com/errata-ai/vale-action/issues/128
os: [ubuntu-22.04]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4

- name: Vale
uses: errata-ai/vale-action@v2.1.0
uses: errata-ai/vale-action@v2.1.1
with:
files: src/content
env:
Expand All @@ -69,7 +68,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [latest]
node-version: [lts/*]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
62 changes: 31 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,27 +59,27 @@
"prepare": "husky && rimraf ./node_modules/.cache/webpack && yarn-deduplicate --strategy fewer"
},
"lint-staged": {
"*.{js,jsx,md,mdx}": [
"*.{js,mjs,jsx,md,mdx}": [
"npm run lint-js"
],
"*.{md,mdx}": [
"npm run lint-markdown"
],
"*.{js,jsx,css,scss,md,mdx,json}": [
"*.{js,mjs,jsx,css,scss,md,mdx,json}": [
"prettier --write"
]
},
"devDependencies": {
"@babel/core": "^7.25.8",
"@babel/eslint-parser": "^7.25.8",
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.25.9",
"@babel/plugin-proposal-class-properties": "^7.17.12",
"@babel/preset-env": "^7.25.8",
"@babel/preset-react": "^7.25.7",
"@eslint/compat": "^1.2.0",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.12.0",
"@mdx-js/loader": "^3.0.1",
"@mdx-js/react": "^3.0.1",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@eslint/compat": "^1.2.4",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.16.0",
"@mdx-js/loader": "^3.1.0",
"@mdx-js/react": "^3.1.0",
"@octokit/auth-action": "^5.1.1",
"@octokit/rest": "^21.0.2",
"@pmmmwh/react-refresh-webpack-plugin": "next",
Expand All @@ -89,36 +89,36 @@
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"cypress": "^13.15.0",
"cypress": "^13.16.0",
"directory-tree": "^3.5.2",
"directory-tree-webpack-plugin": "^1.0.3",
"duplexer": "^0.1.1",
"eslint": "^9.7.0",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-cypress": "^4.0.0",
"eslint-plugin-cypress": "^4.1.0",
"eslint-plugin-mdx": "^3.1.5",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.1.0",
"front-matter": "^4.0.2",
"github-slugger": "^2.0.0",
"globals": "^15.11.0",
"html-webpack-plugin": "^5.5.4",
"globals": "^15.13.0",
"html-webpack-plugin": "^5.6.3",
"http-server": "^14.1.1",
"husky": "^9.1.6",
"husky": "^9.1.7",
"hyperlink": "^5.0.4",
"jest": "^29.7.0",
"lightningcss": "^1.27.0",
"lightningcss": "^1.28.2",
"lint-staged": "^15.2.10",
"lodash": "^4.17.21",
"markdownlint-cli": "^0.42.0",
"markdownlint-cli": "^0.43.0",
"mdast-util-to-string": "^4.0.0",
"mini-css-extract-plugin": "^2.9.1",
"mini-css-extract-plugin": "^2.9.2",
"mkdirp": "^3.0.1",
"modularscale-sass": "^3.0.3",
"npm-run-all": "^4.1.1",
"postcss": "^8.4.47",
"postcss": "^8.4.49",
"postcss-loader": "^8.1.1",
"prettier": "^3.3.3",
"prettier": "^3.4.2",
"react-refresh": "^0.14.2",
"redirect-webpack-plugin": "^1.0.0",
"remark": "^15.0.1",
Expand All @@ -131,36 +131,36 @@
"remark-refractor": "montogeek/remark-refractor",
"rimraf": "^6.0.1",
"sass": "^1.79.5",
"sass-loader": "^16.0.2",
"sass-loader": "^16.0.4",
"sirv-cli": "^3.0.0",
"sitemap-static": "^0.4.2",
"static-site-generator-webpack-plugin": "^3.4.1",
"style-loader": "^4.0.0",
"tailwindcss": "^3.4.14",
"tailwindcss": "^3.4.16",
"tap-spot": "^1.1.2",
"unist-util-visit": "^5.0.0",
"webpack": "^5.95.0",
"webpack": "^5.97.1",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0",
"webpack-merge": "^6.0.1",
"workbox-webpack-plugin": "^7.1.0",
"workbox-webpack-plugin": "^7.3.0",
"yarn-deduplicate": "^6.0.2"
},
"dependencies": {
"@docsearch/react": "^3.6.1",
"@docsearch/react": "^3.8.0",
"@react-spring/web": "^9.7.5",
"path-browserify": "^1.0.1",
"prop-types": "^15.8.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet-async": "^2.0.5",
"react-router-dom": "^6.27.0",
"react-router-dom": "^6.28.0",
"react-tiny-popover": "5",
"react-use": "^17.5.1",
"react-visibility-sensor": "^5.0.2",
"webpack-pwa-manifest": "^4.3.0",
"workbox-window": "^7.0.0"
"workbox-window": "^7.3.0"
},
"resolutions": {
"sitemap-static/minimist": "1.2.5",
Expand Down
50 changes: 30 additions & 20 deletions src/content/api/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,15 @@ W> `npx`를 사용하여 webpack을 실행하려면 `webpack-cli`가 설치되

webpack-cli는 webpack을 더 쉽게 사용할 수 있도록 다양한 명령을 제공합니다. 기본적으로 webpack은 다음과 같은 명령어를 제공합니다.

| 명령어 | 사용법 | 설명 |
| --------------------------- | ----------------------------------------------------- | -------------------------------------------------------------------------- |
| [`build`](#build) | `build\|bundle\|b [entries...] [options]` | webpack을 실행합니다. (기본 명령어, 생략 가능). |
| [`configtest`](#configtest) | `configtest\|t [config-path]` | webpack 설정을 검증합니다. |
| [`help`](#help) | `help\|h [command] [option]` | 명령어 및 옵션에 대한 도움말을 표시합니다. |
| [`info`](#info) | `info\|i [options]` | 시스템 정보를 출력합니다. |
| [`init`](#init) | `init\|create\|c\|new\|n [generation-path] [options]` | 새로운 webpack 프로젝트를 초기화합니다. |
| [`loader`](#loader) | `loader\|l [output-path] [options]` | 로더를 스캐폴드합니다. |
| [`plugin`](#plugin) | `plugin\|p [output-path] [options]` | 플러그인을 스캐폴드합니다. |
| [`serve`](#serve) | `serve\|server\|s [options]` | `webpack-dev-server`를 실행합니다. |
| [`version`](#version) | `version\|v [commands...]` | `webpack`, `webpack-cli` 및 `webpack-dev-server`의 버전 넘버를 출력합니다. |
| [`watch`](#watch) | `watch\|w [entries...] [options]` | webpack을 실행하고 파일 변경을 감지합니다. |
| 명령어 | 사용법 | 설명 |
| --------------------------- | ----------------------------------------- | -------------------------------------------------------------------------- |
| [`build`](#build) | `build\|bundle\|b [entries...] [options]` | webpack을 실행합니다. (기본 명령어, 생략 가능). |
| [`configtest`](#configtest) | `configtest\|t [config-path]` | webpack 설정을 검증합니다. |
| [`help`](#help) | `help\|h [command] [option]` | 명령어 및 옵션에 대한 도움말을 표시합니다. |
| [`info`](#info) | `info\|i [options]` | 시스템 정보를 출력합니다. |
| [`serve`](#serve) | `serve\|server\|s [options]` | `webpack-dev-server`를 실행합니다. |
| [`version`](#version) | `version\|v [commands...]` | `webpack`, `webpack-cli` 및 `webpack-dev-server`의 버전 넘버를 출력합니다. |
| [`watch`](#watch) | `watch\|w [entries...] [options]` | webpack을 실행하고 파일 변경을 감지합니다. |

### Build

Expand All @@ -74,16 +71,22 @@ npx webpack build --config ./webpack.config.js --stats verbose

### Init

webpack 프로젝트를 초기화하기 위해 사용합니다.
`create-new-webpack-app`를 사용하여 새로운 webpack 프로젝트를 초기화하기 위해 사용합니다.

```bash
npx webpack init [generation-path] [options]
npx create-new-webpack-app [generation-path] [options]
```

**예시**

```bash
npx webpack init ./my-app --force --template=default
npx create-new-webpack-app ./my-app --force --template=default
```

별칭으로:

```bash
npx create-new-webpack-app init ./my-app --force --template=default
```

#### Generation Path
Expand All @@ -104,20 +107,25 @@ npx webpack init ./my-app --force --template=default

질문 없이 프로젝트를 생성합니다. 활성화하면 각 질문에 대한 기본 답변을 사용합니다.

T> [`webpack init` 명령의 전체 문서](https://github.com/webpack/webpack-cli/blob/master/packages/generators/INIT.md)를 참고하세요.
#### Templates supported

- `--template=default` - 기본 설정을 갖춘 템플릿입니다.
- `--template=react` - React 설정을 사용한 템플릿입니다.
- `--template=vue` - Vue 설정을 사용한 템플릿입니다.
- `--template=svelte` - Svelte 설정을 사용한 템플릿입니다.

### Loader

로더를 스캐폴드합니다.

```bash
npx webpack loader [output-path] [options]
npx create-new-webpack-app loader [output-path] [options]
```

**example**

```bash
npx webpack loader ./my-loader --template=default
npx create-new-webpack-app loader ./my-loader --template=default
```

#### Output Path
Expand All @@ -137,13 +145,13 @@ npx webpack loader ./my-loader --template=default
플러그인을 스캐폴드합니다.

```bash
npx webpack plugin [output-path] [options]
npx create-new-webpack-app plugin [output-path] [options]
```

**example**

```bash
npx webpack plugin ./my-plugin --template=default
npx create-new-webpack-app plugin ./my-plugin --template=default
```

#### Output Path
Expand All @@ -158,6 +166,8 @@ npx webpack plugin ./my-plugin --template=default

템플릿의 유형입니다.

T> `create-new-webpack-app`의 전체 문서를 참고하세요(https://github.com/webpack/webpack-cli/blob/master/packages/create-webpack-app/README.md).

### Info

시스템에 대한 정보를 출력합니다.
Expand Down
38 changes: 34 additions & 4 deletions src/content/api/module-methods.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -135,22 +135,52 @@ import(
/* webpackPreload: true */
`./locale/${language}`
);
```

```js
import(/* webpackIgnore: true */ 'ignored-module.js');

new URL(/* webpackIgnore: true */ 'file1.css', import.meta.url);
```

##### webpackIgnore

**JavaScript Usage**

`true`로 설정하면 동적 import 구문 파싱을 비활성화합니다.

`import.meta.url`을 사용할 때, 그대로 유지되지 않고, 대신 `baseURI`에 따라 대체됩니다. 모듈의 경우 `new URL("./", import.meta.url)`로 대체되고, 다른 경우에는 `document.baseURI`로 기본 설정됩니다. 이렇게 하면 기본 URL 컨텍스트에 맞게 상대 URL이 올바르게 작동합니다.

```js
import(/* webpackIgnore: true */ 'ignored-module.js');

new URL(/* webpackIgnore: true */ 'file1.css', import.meta.url);
```

W> `webpackIgnore`를 `true`로 설정하면 코드 분할이 해제됩니다.

**CSS Usage**

`webpackIgnore` 주석은 webpack이 특정 가져오기 또는 URL 참조를 처리할지 여부를 제어할 수 있습니다.
특정 경우에는 바로 사용할 수 있지만 성능상의 이유로 **모든 경우를 지원하지는 않습니다.**

다음의 경우에는 `webpackIgnore`를 지원합니다:

```css
@import /* webpackIgnore: false */ url(./basic.css);

.class {
color: red;
background: /* webpackIgnore: true */ url('./url/img.png');
}

.class {
background-image: image-set(
/*webpackIgnore: true*/ url(./url/img1x.png) 1x,
url(./url/img2x.png) 2x,
url(./url/img3x.png) 3x
);
}
```

T> 다른 CSS 시나리오의 경우 [`css-loader`는 `webpackIgnore`](/loaders/css-loader/#disable-url-resolving-using-the--webpackignore-true--comment)를 완벽하게 지원하여 필요한 경우 더 많은 유연성을 제공합니다.

##### webpackChunkName

새 청크의 이름입니다. Webpack 2.6.0부터 플레이스홀더 `[index]`와 `[request]`는 주어진 문자열 내에서 증가된 숫자 또는 실제 확인된 파일 이름으로 각각 지원합니다. 이 주석을 추가하면 개별 청크 이름이 [id].js 대신 [my-chunk-name].js로 지정됩니다.
Expand Down
1 change: 1 addition & 0 deletions src/content/awesome-webpack.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ _People passionate about Webpack (In no particular order)_
- [Transpile Webpack Plugin](https://github.com/licg9999/transpile-webpack-plugin#readme): Transpiles input files into output files individually without bundling together. -- _Maintainer_: `Chungen Li` [![Github][githubicon]](https://github.com/licg9999) [![Twitter][twittericon]](https://twitter.com/licg9999)
- [Manifest Extraction Plugin](https://github.com/shellscape/webpack-manifest-plugin): Generates an asset manifest after compiling webpack. -- _Maintainer_: `Andrew Powell` [![Github][githubicon]](https://github.com/shellscape)
- [Transform Async Modules Plugin](https://github.com/steverep/transform-async-modules-webpack-plugin): A Webpack plugin to transpile async module output using Babel. Allows transpiling top level await to ES5. -- _Maintainer_: `Steve Repsher` [![Github][githubicon]](https://github.com/steverep)
- [CSS Layering Plugin](https://github.com/kburich/css-layering-webpack-plugin): Wrap CSS in cascade layers. -- _Maintainer_: `Kresimir Buric` [![Github][githubicon]](https://github.com/kburich)

### Webpack Tools

Expand Down
Loading
Loading