mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
chore: disable webpack fs cache
This commit is contained in:
parent
7255a890a0
commit
f723cc6fcd
@ -169,19 +169,20 @@ function getCache (ctx: WebpackConfigContext): Configuration['cache'] {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
// TODO: Disable for nuxt internal dev due to inconsistencies
|
||||||
name: ctx.name,
|
// return {
|
||||||
type: 'filesystem',
|
// name: ctx.name,
|
||||||
cacheDirectory: resolve(ctx.options.rootDir, 'node_modules/.cache/webpack'),
|
// type: 'filesystem',
|
||||||
managedPaths: [
|
// cacheDirectory: resolve(ctx.options.rootDir, 'node_modules/.cache/webpack'),
|
||||||
...ctx.options.modulesDir
|
// managedPaths: [
|
||||||
],
|
// ...ctx.options.modulesDir
|
||||||
buildDependencies: {
|
// ],
|
||||||
config: [
|
// buildDependencies: {
|
||||||
...ctx.options._nuxtConfigFiles
|
// config: [
|
||||||
]
|
// ...ctx.options._nuxtConfigFiles
|
||||||
}
|
// ]
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
function getOutput (ctx: WebpackConfigContext): Configuration['output'] {
|
function getOutput (ctx: WebpackConfigContext): Configuration['output'] {
|
||||||
|
Loading…
Reference in New Issue
Block a user