mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Disable webpack cache option in prod (#5877)
* Disable webpack cache option in prod * Remove cache option as it’s added by mode === ‘development’
This commit is contained in:
parent
00a14d696d
commit
1464d932eb
|
@ -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}),
|
||||
|
|
Loading…
Reference in a new issue