Skip to content

Commit

Permalink
Remove extra config for PR stats (#30478)
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk authored Oct 27, 2021
1 parent 17adc24 commit 390e7bd
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions test/.stats-app/stats-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
}
`,
Expand Down

0 comments on commit 390e7bd

Please sign in to comment.