Skip to content

Commit d156981

Browse files
committed
use sharp image optimization and critters optimizeCss
1 parent ebe3719 commit d156981

File tree

3 files changed

+659
-3
lines changed

3 files changed

+659
-3
lines changed

next.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ const nextConfig = {
1414
],
1515
formats: ["image/webp"],
1616
},
17+
experimental: {
18+
optimizeCss: true,
19+
},
1720
// webpack: (
1821
// config,
1922
// { buildId, dev, isServer, defaultLoaders, nextRuntime, webpack }

0 commit comments

Comments
 (0)