Skip to content

Commit 048d89c

Browse files
authored
Ensure experimental SWC options invalidate the cache (vercel#32540)
1 parent dda0afd commit 048d89c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/next/build/webpack-config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1608,6 +1608,9 @@ export default async function getBaseWebpackConfig(
16081608
concurrentFeatures: config.experimental.concurrentFeatures,
16091609
swcMinify: config.swcMinify,
16101610
swcLoader: useSWCLoader,
1611+
removeConsole: config.experimental.removeConsole,
1612+
reactRemoveProperties: config.experimental.reactRemoveProperties,
1613+
styledComponents: config.experimental.styledComponents,
16111614
})
16121615

16131616
const cache: any = {

0 commit comments

Comments
 (0)