A simple webpack loader to use cache file.
npm install use-cache-loader --save-dev
{
loader: 'use-cache-loader',
options: {
cacheFolder: 'your-path-to-cache-folder',
getCachePath: function (resourcePath, contextDir) { }, /* optional, to get the cache file path */
}
}