Skip to content

Commit

Permalink
feat(packages/sui-bundler): use brotli compression
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrés Alvarez authored and Andrés Alvarez committed Jan 4, 2024
1 parent fd24c71 commit fc596c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/sui-bundler/webpack.config.client.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const webpackConfig = {
cache: {
type: 'filesystem',
cacheDirectory,
compression: 'gzip'
compression: 'brotli'
},
target: 'web',
optimization: {
Expand Down
2 changes: 1 addition & 1 deletion packages/sui-bundler/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const webpackConfig = {
cache: {
type: 'filesystem',
cacheDirectory,
compression: 'gzip'
compression: 'brotli'
},
target: 'web',
optimization: {
Expand Down
2 changes: 1 addition & 1 deletion packages/sui-bundler/webpack.config.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const webpackConfig = {
cache: {
type: 'filesystem',
cacheDirectory,
compression: !isProduction ? 'gzip' : false
compression: !isProduction ? 'brotli' : false
},
externals: [webpackNodeExternals()],
plugins: [new webpack.DefinePlugin({'global.GENTLY': false})],
Expand Down

0 comments on commit fc596c2

Please sign in to comment.