A webpack loader that disables caching by returning a new module instance on each require call. Version 1.0.0. Useful for loading mutable data like JSON fixtures where module identity must differ. Simple and focused; no release cadence documented, likely maintenance mode. Only 4 lines of source code.
npm install no-cache-loaderNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to configure no-cache-loader in webpack to avoid caching of JSON modules, ensuring each require returns a fresh instance.
For production use, consider a more robust solution or test thoroughly.
Use only in webpack builds.
Be mindful of performance. Use only when module identity mutability is required.
Change to 'no-cache-loader': require('no-cache-loader!./module.js') or { test: /\.json$/, use: 'no-cache-loader' }.No dependency data recorded yet.