Skip to content

Commit

Permalink
stress-test: update webpack config
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 committed Oct 19, 2022
1 parent 61a6356 commit 24b4279
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 24b4279

Please sign in to comment.