{"library":"cache-loader","type":"library","category":null,"description":"Caches the result of following webpack loaders on disk (or database) to speed up subsequent builds. The current stable version is 4.1.0, actively maintained by the webpack-contrib team. Key differentiator: it caches at the loader level rather than at the module level like hard-source-webpack-plugin, making it ideal for expensive transpilation or compilation loaders. Note that there is overhead for reading/writing cache files, so only use for expensive loaders. Supports configurable cache directory, cache key, cache identifier, read/write functions, and read-only mode.","language":"javascript","status":"active","version":"4.1.0","tags":["javascript","webpack"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install cache-loader","imports":["module.exports = { module: { rules: [ { test: /\\.ext$/, use: ['cache-loader', ...loaders] } ] } }","const pkg = require('cache-loader/package.json');"]},{"cmd":"yarn add cache-loader","imports":[]},{"cmd":"pnpm add cache-loader","imports":[]}],"homepage":"https://github.com/webpack-contrib/cache-loader","github":"https://github.com/webpack-contrib/cache-loader","docs":null,"changelog":null,"pypi":null,"npm":"cache-loader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}