Chore: move cache dir for plugins to the root (#76680)

This commit is contained in:
Andres Martinez Gotor
2023-10-19 10:45:11 +02:00
committed by GitHub
parent d4b6fc31ff
commit 52394a1b81
2 changed files with 8 additions and 0 deletions

View File

@@ -28,6 +28,13 @@ const config = async (env: any): Promise<Configuration> => {
buildDependencies: {
config: [__filename],
},
cacheDirectory: path.resolve(__dirname, '../../.yarn/.cache/webpack', path.basename(process.cwd())),
cacheLocation: path.resolve(
__dirname,
'../../.yarn/.cache/eslint-webpack-plugin',
path.basename(process.cwd()),
'.eslintcache'
),
},
context: process.cwd(),