enableBuildCache(buildDependencies, cacheCallback = (cache) => {}) {
        webpackConfig.enableBuildCache(buildDependencies, cacheCallback);

        return this;
    }
Enables & configures persistent build caching.

https://webpack.js.org/blog/2020-10-10-webpack-5-release/#persistent-caching

```
Encore.enableBuildCache({
    // object of "buildDependencies"
    // https://webpack.js.org/configuration/other-options/#cachebuilddependencies
    // __filename means that changes to webpack.config.js should invalidate the cache
    config: [__filename],
});

// also configure other options the Webpack "cache" key
Encore.enableBuildCache({ config: [__filename] }, (cache) => {
    cache.version: `${process.env.GIT_REV}`;

    cache.name: `${env.target}`
});
```

@param {Record<string, string[]>} buildDependencies
@param {OptionsCallback<webpack.FileCacheOptions>} cacheCallback
@returns {Encore}