Skip to content

Commit

Permalink
Merge pull request #1699 from SUI-Components/feat/use-gzip-compression
Browse files Browse the repository at this point in the history
feat(packages/sui-bundler): use gzip compression
  • Loading branch information
andresz1 authored Jan 11, 2024
2 parents 138352d + 4e1579f commit eedd82a
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: 'brotli'
compression: 'gzip'
},
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: 'brotli'
compression: 'gzip'
},
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 ? 'brotli' : false
compression: !isProduction ? 'gzip' : false
},
externals: [webpackNodeExternals()],
plugins: [new webpack.DefinePlugin({'global.GENTLY': false})],
Expand Down

0 comments on commit eedd82a

Please sign in to comment.