Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-27 00:20:32 +00:00
parent 197e4c944f
commit f6d34d521b
39 changed files with 113 additions and 66 deletions

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# webpack
> Bundle a web project's js files and other assets into a single output file.
> More information: <https://webpack.js.org>.
> More information: <https://webpack.js.org/api/cli/>.
- Create a single output file from an entry point file:
@@ -18,8 +18,8 @@ source: https://github.com/tldr-pages/tldr.git
- Pass a configuration file (with e.g. the entry script and the output filename) and show compilation progress:
`webpack --config {{webpack.config.js}} --progress`
`webpack {{[-c|--config]}} {{webpack.config.js}} --progress`
- Automatically recompile on changes to project files:
`webpack --watch {{app.js}} {{bundle.js}}`
`webpack {{[-w|--watch]}} {{app.js}} {{bundle.js}}`