Unverified Commit 1464d932 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Disable webpack cache option in prod (#5877)

* Disable webpack cache option in prod

* Remove cache option as it’s added by mode === ‘development’
parent 00a14d69
......@@ -228,7 +228,6 @@ export default async function getBaseWebpackConfig (dir, {dev = false, isServer
mode: webpackMode,
devtool: dev ? 'cheap-module-source-map' : false,
name: isServer ? 'server' : 'client',
cache: true,
target: isServer ? 'node' : 'web',
externals: externalsConfig(dir, isServer, lambdas),
optimization: optimizationConfig({dir, dev, isServer, totalPages, lambdas}),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment