meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ixc2024:tech:tools:webpack [2024/08/26 05:05] – salsabeel-tn | ixc2024:tech:tools:webpack [2024/08/26 05:10] (current) – salsabeel-tn | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| Use content hashing to create unique filenames for your assets, which helps in long-term caching. | Use content hashing to create unique filenames for your assets, which helps in long-term caching. | ||
| Example: | Example: | ||
| + | '' | ||
| module.exports = { | module.exports = { | ||
| output: { | output: { | ||
| Line 16: | Line 16: | ||
| }, | }, | ||
| }; | }; | ||
| + | '' | ||
| \\ | \\ | ||
| - | Using HtmlWebpackPlugin: | + | Using HtmlWebpackPlugin |
| Line 37: | Line 37: | ||
| }; | }; | ||
| + | \\ | ||
| Green Development Practices | Green Development Practices | ||
| - | Green Aspect: | ||
| Development Server: Use Webpack’s development server efficiently to avoid unnecessary resource usage. | Development Server: Use Webpack’s development server efficiently to avoid unnecessary resource usage. | ||