Unverified Commit 390e7bd0 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Remove extra config for PR stats (#30478)

parent 17adc242
...@@ -133,13 +133,7 @@ module.exports = { ...@@ -133,13 +133,7 @@ module.exports = {
content: ` content: `
module.exports = { module.exports = {
generateBuildId: () => 'BUILD_ID', generateBuildId: () => 'BUILD_ID',
swcMinify: ${ swcMinify: true,
// TODO: remove after stable release > 11.1.2
process.env.STATS_IS_RELEASE ? 'false' : 'true'
},
experimental: {
swcLoader: true,
},
webpack(config) { webpack(config) {
config.optimization.minimize = false config.optimization.minimize = false
config.optimization.minimizer = undefined config.optimization.minimizer = undefined
...@@ -160,14 +154,7 @@ module.exports = { ...@@ -160,14 +154,7 @@ module.exports = {
path: 'next.config.js', path: 'next.config.js',
content: ` content: `
module.exports = { module.exports = {
swcMinify: ${ swcMinify: true,
// TODO: remove after stable release > 11.1.2
process.env.STATS_IS_RELEASE ? 'false' : 'true'
},
experimental: {
swcLoader: true,
},
generateBuildId: () => 'BUILD_ID' generateBuildId: () => 'BUILD_ID'
} }
`, `,
......
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