Skip to content

Commit

Permalink
Merge branch 'release/2.4.54' into craft-webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Dec 25, 2021
2 parents 761356f + 9ceceb7 commit ef8873a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# nystudio107/craft Change Log

## 2.4.54 - 2021.12.25
### Fixed
* Fixed an issue with Critical CSS not generating properly out of the box

## 2.4.53 - 2021.12.25
### Fixed
* Fix `node-dev-webpack/Dockerfile` so `npm install` is run
Expand Down
1 change: 0 additions & 1 deletion buildchain/webpack-configs/critical.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ module.exports = (type = 'modern', settings) => {
target: criticalDest,
extract: false,
inline: false,
minify: true,
width: settings.critical.criticalWidth,
height: settings.critical.criticalHeight,
})
Expand Down
2 changes: 1 addition & 1 deletion buildchain/webpack-settings/app.settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = {
dist: path.resolve('../cms/web/dist/'),
},
urls: {
criticalCss: 'http://example.test/',
criticalCss: 'http://webpack:8080/',
publicPath: () => process.env.PUBLIC_PATH || '/dist/',
},
};

0 comments on commit ef8873a

Please sign in to comment.