Closed mdehollander closed 9 months ago
Confirmed. Thanks for reporting this!
The render options in config/_default/params.toml
:
# Renderer options:
class = "img-fluid"
are/can not processed by PostCSS.
So, we'll have to add:
'img-fluid',
to the safelist of config/postcss.config.js
for the templates with @hyas/images
.
This repo will also need to be updated (for manual installation):
config/postcss.config.js
Thanks for the quick reply. Adding img-fluid
to config/postcss.config.js
in my installation fixed it. Super!
Closing...
I exploring the hyas project and I am using the hyas-images to create responsive and optimized images. They do scale well in development mode running
npn run dev
, but not afternpm run build
andnpm run preview
How to reproduce
npm create hyas@latest