Skip to content

Commit

Permalink
fix: Fixed an issue with Critical CSS not generating properly out of …
Browse files Browse the repository at this point in the history
…the box
  • Loading branch information
khalwat committed Dec 25, 2021
1 parent ea6f49b commit 95122be
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
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 95122be

Please sign in to comment.