compression-webpack-plugin
compression-webpack-plugin copied to clipboard
Prepare compressed versions of assets to serve them with Content-Encoding
config as below: ``` new CompressionWebpackPlugin({ test: /\.(js|mjs|json|obj|mtl|png)$/i, deleteOriginalAssets: true, }), ``` And I also config the image with url-loader: ``` { test: /\.(png|jpg|gif|svg|jpeg)$/i, use: [ { loader: 'url-loader', options:...
This PR contains a: - [ ] **bugfix** - [ ] new **feature** - [ ] **code refactor** - [ ] **test update** - [ ] **typo fix** - [x]...
This PR contains a: - [ ] **bugfix** - [ ] new **feature** - [ ] **code refactor** - [ ] **test update** - [ ] **typo fix** - [x]...
This PR contains a: - [x] **bugfix** - [ ] new **feature** - [ ] **code refactor** - [x] **test update** - [ ] **typo fix** - [ ] **metadata...
- Operating System: OSX 11.2.2 - Node Version: v12.14.1 - NPM Version: 6.13.4 - webpack Version: 5.28.0 - compression-webpack-plugin Version: 7.1.2 ### Expected Behavior - Use Compression Plugin once to...
This PR contains a: - [ ] **bugfix** - [ ] new **feature** - [ ] **code refactor** - [ ] **test update** - [ ] **typo fix** - [x]...
This PR contains a: - [ ] **bugfix** - [ ] new **feature** - [ ] **code refactor** - [ ] **test update** - [ ] **typo fix** - [x]...
### Bug report Created an empty `npx create-react-app@latest webpack-compress-test`, added this plugin and broke the build. Looks like `CompressionPlugin` is racing with `HtmlWebpackPlugin` and deletes original `.js` files too early......
### Bug report We are using `CompressionPlugin` as the last step of our webpack config. When specifying `deleteOriginalAssets: true` it does remove original `.js` file when `.js.gz` is produced, but...
Bumps [webpack](https://github.com/webpack/webpack) from 5.93.0 to 5.95.0. Release notes Sourced from webpack's releases. v5.95.0 Bug Fixes Fixed hanging when attempting to read a symlink-like file that it can't read Handle default...