Skip to content
This repository has been archived by the owner on Feb 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #241 from Sage/FE-2501-broken-build-script
Browse files Browse the repository at this point in the history
FE-2501 broken build script
  • Loading branch information
ian-forster authored Jan 8, 2020
2 parents c1e1492 + 3578d8d commit b6bfda0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 11.0.1

## Webpack

Update to `webpack.config.js` to replace `asset` option with `filename` option.

# 11.0.0

`compression-webpack-plugin` (`v3.0.1`) and `webpack` (`4.41.2`) upgraded to fix vulnerability in `serialize-javascript`.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "carbon-factory",
"version": "11.0.0",
"version": "11.0.1",
"description": "Tools to help create user interfaces with Carbon and React.",
"scripts": {},
"author": "The Sage Group plc",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ module.exports = function(opts) {
if (gzip) {
config.plugins.push(
new CompressionPlugin({
asset: '[path][query]',
filename: '[path][query]',
exclude: new RegExp(`\.(${imageFormats})$`, 'i'),
minRatio: Infinity
})
Expand Down

0 comments on commit b6bfda0

Please sign in to comment.