Skip to content

Commit

Permalink
stress-test: update webpack config (#25309)
Browse files Browse the repository at this point in the history
Disables SWC compression in favor of Terser as SWC was breaking a test
for a React 18 feature.
  • Loading branch information
spmonahan authored Oct 20, 2022
1 parent 8bcb3d3 commit 59cc34e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions apps/stress-test/webpack/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ const createConfig: WebpackConfigurationCreator = (_env, argv) => {
loader: 'swc-loader',
options: {
jsc: {
minify: {
compress: true,
},
target: 'es2019',
parser: {
syntax: 'typescript',
Expand All @@ -79,7 +76,7 @@ const createConfig: WebpackConfigurationCreator = (_env, argv) => {
plugins: [new CleanWebpackPlugin()],

optimization: {
minimize: false,
minimize: isProd,
splitChunks: {
chunks: 'all',
},
Expand Down

0 comments on commit 59cc34e

Please sign in to comment.