Change cache directory name.

This commit is contained in:
Dillon Kearns 2019-08-22 05:54:29 -07:00
parent aed91bffce
commit 609acf0005

View File

@ -125,7 +125,7 @@ function webpackOptions(production, routes, { debug, manifestConfig }) {
]),
new ImageminPlugin({
test: /\.(jpe?g|png|gif|svg)$/i,
cacheFolder: path.resolve(process.cwd(), "./cache"),
cacheFolder: path.resolve(process.cwd(), "./.cache"),
disable: !production,
pngquant: {
quality: "50-70",