OpenForgeProject / ddev-woodoo-buildtools-magento

ddev Addon to build Magento projects without headache
GNU General Public License v3.0
8 stars 5 forks source link

Support for Hyva <1.2 projects #11

Closed therouv closed 1 year ago

therouv commented 1 year ago

When running ddev frontend build on themes with Hyva <1.2, the styles.css file will not be generated because the script in .ddev/commands/web/woodoo_components/build just runs npm run build which doesn't calls the minify command. It should be npm run build-prod.

It would be awesome if woodoo could automatically detect if the Hyva theme is <1.2 or >=1.2 and run the specific command.