Skip to content

Commit

Permalink
Fix JavaScript dead code elimination (#9217)
Browse files Browse the repository at this point in the history
changelog: Internal, Performance, Reduce size of JavaScript bundles
  • Loading branch information
aduth committed Sep 15, 2023
1 parent bd65c56 commit 0fcc3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module.exports = /** @type {import('webpack').Configuration} */ ({
},
resolve: {
extensions: ['.js', '.jsx', '.ts', '.tsx', '.mjs', '.cjs', '.mts', '.cts'],
conditionNames: ['source', 'import', 'require', 'node'],
conditionNames: ['source', '...'],
},
module: {
rules: [
Expand Down

0 comments on commit 0fcc3a7

Please sign in to comment.