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