CARVIEW |
Select Language
HTTP/2 301
date: Sat, 26 Jul 2025 19:08:01 GMT
content-type: text/html
content-length: 162
location: https://webpack.js.org/plugins/hashed-module-ids-plugin/
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
server: cloudflare
access-control-allow-origin: *
expires: Sat, 26 Jul 2025 19:18:01 GMT
cache-control: max-age=600
x-proxy-cache: MISS
x-github-request-id: D834:1E5AA5:B3787:D3215:68852790
accept-ranges: bytes
age: 0
via: 1.1 varnish
x-served-by: cache-maa10242-MAA
x-cache: MISS
x-cache-hits: 0
x-timer: S1753556881.263386,VS0,VE225
vary: Accept-Encoding
x-fastly-request-id: 48173d1ae2e358a6972c325bcc7d78f0435e7bfb
cf-cache-status: DYNAMIC
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=mQuIBhJDk2qDK9smamx3np1CCQTiur0VTFmDcs5dTdLhmcuNzgHlNTfyV3eF9Hqn0S%2FBzweC3DJAc3%2FdM83jhzJVKZX%2BMoKt6ZulRBU%3D"}]}
cf-ray: 96562eeb3907c1bf-BLR
HTTP/1.1 301 Moved Permanently
Date: Sat, 26 Jul 2025 19:08:01 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Location: https://webpack.js.org/plugins/hashed-module-ids-plugin/
Vary: accept-encoding
Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=lq7F%2BefJW2plv6fCp0g%2BfcIUvSsdRqm%2BGHcbi%2B0GNjZQ4SCLCoqKurv%2FSXaYyi%2B%2BDtpcT81vwS4XJ5FMUOFgwJAJZoo%2BT9iMUg2PZBk%3D"}]}
Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
Server: cloudflare
CF-RAY: 96562eed4869c1a4-BLR
HTTP/2 200
date: Sat, 26 Jul 2025 19:08:01 GMT
content-type: text/html; charset=utf-8
content-length: 13282
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
server: cloudflare
last-modified: Sat, 26 Jul 2025 00:10:36 GMT
access-control-allow-origin: *
etag: W/"68841cfc-16f01"
expires: Sat, 26 Jul 2025 19:18:01 GMT
cache-control: max-age=600
content-encoding: gzip
x-proxy-cache: MISS
x-github-request-id: 88C8:1C7D15:B2EBF:D296A:68852790
accept-ranges: bytes
age: 0
via: 1.1 varnish
x-served-by: cache-maa10236-MAA
x-cache: MISS
x-cache-hits: 0
x-timer: S1753556882.531088,VS0,VE232
vary: Accept-Encoding
x-fastly-request-id: fdc8630223637a780d36619e4b57b5387151d81a
cf-cache-status: DYNAMIC
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=gv2aW9q80Dh0aUv%2Faa8HDE39gIh7Nkdk9BQQOVxJASx5Dm%2Bo9MAbq6G2s321ADNwAIk7Uzdpa4u%2FdDs3SZ8Z0E4WTk%2Bhi4UuwhZTyEU%3D"}]}
cf-ray: 96562eed5ab2c1bf-BLR
HashedModuleIdsPlugin | webpack
Community
webpack
SplitChunksPlugin
- Defaults
- Configuration
- optimization.splitChunks
- splitChunks.automaticNameDelimiter
- splitChunks.chunks
- splitChunks.maxAsyncRequests
- splitChunks.maxInitialRequests
- splitChunks.defaultSizeTypes
- splitChunks.minChunks
- splitChunks.hidePathInfo
- splitChunks.minSize
- splitChunks.minSizeReduction
- splitChunks.enforceSizeThreshold
- splitChunks.minRemainingSize
- splitChunks.layer
- splitChunks.maxSize
- splitChunks.maxAsyncSize
- splitChunks.maxInitialSize
- splitChunks.name
- splitChunks.usedExports
- splitChunks.cacheGroups
- Examples
webpack contrib
MiniCssExtractPlugin
- Getting Started
- Options
- Examples
- Recommended
- Minimal example
- Named export for CSS Modules
- The publicPath option as function
- Advanced configuration example
- Hot Module Reloading (HMR)
- Minimizing For Production
- Using preloaded or inlined CSS
- Extracting all CSS in a single file
- Extracting CSS based on entry
- Filename Option as function
- Long Term Caching
- Remove Order Warnings
- Multiple Themes
- Media Query Plugin
- Hooks
- Contributing
- License
HashedModuleIdsPlugin
This plugin will cause hashes to be based on the relative path of the module, generating a four character string as the module id. Suggested for use in production.
new webpack.ids.HashedModuleIdsPlugin({
// Options...
});
Options
This plugin supports the following options:
context
: The context directory (absolute path) for creating names.hashFunction
: The hashing algorithm to use, defaults to'md4'
. All functions from Node.JS'crypto.createHash
are supported.hashDigest
: The encoding to use when generating the hash, defaults to'base64'
. All encodings from Node.JS'hash.digest
are supported.hashDigestLength
: The prefix length of the hash digest to use, defaults to4
. Note that some generated ids might be longer than specified here, to avoid module id collisions.
Usage
Here's an example of how this plugin might be used:
new webpack.ids.HashedModuleIdsPlugin({
context: __dirname,
hashFunction: 'sha256',
hashDigest: 'hex',
hashDigestLength: 20,
});
« Previous
EvalSourceMapDevToolPlugin