Skip to content

UHF-11934 Theme builder for subtheme#328

Closed
khalima wants to merge 7 commits intomainfrom
UHF-11934
Closed

UHF-11934 Theme builder for subtheme#328
khalima wants to merge 7 commits intomainfrom
UHF-11934

Conversation

@khalima
Copy link
Contributor

@khalima khalima commented Jul 15, 2025

UHF-11934

What was done

  • Removed webpack and postcss related configurations.
  • Added theme builder configurations file.
  • Use correct path for breakpoint-sass.
  • Updated the package.json to support @hdbt/theme-builder.
  • Downgrade node version to 22, to support hds-core and hds-react 4.6.0

How to install

  • Make sure your instance is up and running on correct branch.
    • git checkout UHF-11934
    • make fresh
  • Run make drush-cr

How to test

  • Go to /public/themes/custom/hdbt_subtheme/ and run nvm use; npm i; npm run build. The outcome should be something like this:
🧹 Cleaning dist...
⏱️ JS built in 31ms
🎨 Building CSS…
⏳ CSS [████████████████████████████████████████] 100% | 1/1 files
⏱️ CSS built in 125ms
⏱️ Everything built in 158ms
  • Check that code follows our standards

Other PRs

@sonarqubecloud
Copy link

@khalima
Copy link
Contributor Author

khalima commented Jul 15, 2025

Used wrong ticket number, closing in favour of #329

@khalima khalima closed this Jul 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant