{"id":20792,"library":"webpack-md5-hash","title":"webpack-md5-hash","description":"A webpack plugin that replaces the standard webpack chunkhash with an MD5 hash based on the chunk's module contents. The latest version (0.0.6) was released with a low-release cadence, no recent updates or maintenance. It's a minimal alternative to webpack's built-in chunkhash, offering deterministic MD5 hashing and supporting older webpack versions. Requires Node.js and webpack. Not actively maintained; consider using webpack's own [contenthash] or other modern hashing plugins.","status":"maintenance","version":"0.0.6","language":"javascript","source_language":"en","source_url":"https://github.com/erm0l0v/webpack-md5-hash","tags":["javascript","webpack","hash","plugin","md5"],"install":[{"cmd":"npm install webpack-md5-hash","lang":"bash","label":"npm"},{"cmd":"yarn add webpack-md5-hash","lang":"bash","label":"yarn"},{"cmd":"pnpm add webpack-md5-hash","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency; plugin works as a webpack plugin, needed at runtime","package":"webpack","optional":false}],"imports":[{"note":"Only supports CommonJS require syntax; default export is the plugin class. Does not provide named exports or ESM support.","wrong":"import WebpackMd5Hash from 'webpack-md5-hash';","symbol":"WebpackMd5Hash","correct":"var WebpackMd5Hash = require('webpack-md5-hash');"}],"quickstart":{"code":"// webpack.config.js\nvar WebpackMd5Hash = require('webpack-md5-hash');\nmodule.exports = {\n  entry: './app.js',\n  output: {\n    path: 'dist',\n    filename: '[name].[chunkhash].js',\n    chunkFilename: '[chunkhash].[id].chunk.js'\n  },\n  plugins: [\n    new WebpackMd5Hash()\n  ]\n};","lang":"javascript","description":"Shows how to add the plugin to a webpack configuration to replace chunkhash with MD5."},"warnings":[{"fix":"Use webpack's built-in [contenthash] or a more modern hashing plugin like webpack-hash-webpack-plugin.","message":"This plugin is not actively maintained and uses MD5, which is cryptographically broken for security purposes.","severity":"deprecated","affected_versions":">=0.0.1"},{"fix":"Use require() in CommonJS context; for ESM projects, consider an alternative plugin with ESM support.","message":"The plugin only works with CommonJS (require); does not support ES module imports.","severity":"gotcha","affected_versions":">=0.0.1"},{"fix":"Check compatibility with your webpack version; for webpack 5, use [contenthash] instead.","message":"Plugin may not be compatible with webpack versions above 4.x; tested only with webpack 1.x.","severity":"breaking","affected_versions":">=0.0.1"},{"fix":"Ensure output.filename or output.chunkFilename contains [chunkhash].","message":"Output filenames must include [chunkhash] placeholder for the plugin to have effect.","severity":"gotcha","affected_versions":">=0.0.1"}],"env_vars":null,"search_vec":"'0.0.6':28 'activ':68 'altern':46 'base':18 'built':51 'built-in':50 'cadenc':36 'chunk':21 'chunkhash':13,53 'consid':70 'content':24 'contenthash':75 'determinist':55 'hash':4,17,57,79,83 'javascript':81 'latest':26 'low':34 'low-releas':33 'maintain':69 'mainten':41 'md5':3,16,56,85 'minim':45 'modern':78 'modul':23 'node.js':64 'offer':54 'older':60 'plugin':7,80,84 'recent':38 'releas':30,35 'replac':9 'requir':63 'standard':11 'support':59 'updat':39 'use':71 'version':27,62 'webpack':2,6,12,48,61,66,72,82 'webpack-md5-hash':1","created_at":"2026-04-25T11:24:59.743883+00:00","updated_at":"2026-04-25T11:24:59.743883+00:00","problems":[{"fix":"Run 'npm install webpack-md5-hash --save-dev' to install the package.","cause":"Package not installed","error":"Cannot find module 'webpack-md5-hash'"},{"fix":"Use 'var WebpackMd5Hash = require('webpack-md5-hash');' instead of import statement.","cause":"Incorrect import syntax using ESM import instead of CommonJS require","error":"Plugin is not a constructor"},{"fix":"Add [chunkhash] to output.filename or output.chunkFilename, e.g., '[name].[chunkhash].js'.","cause":"Output filename does not include [chunkhash] placeholder","error":"The 'chunkhash' is not being replaced with MD5"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/erm0l0v/webpack-md5-hash","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webpack-md5-hash","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-07-24","install_tag":null}}