NG-ZORRO/ng-zorro-antd

Build Issue with @plugin './colorPalette' While Upgrading to Angular 18

KokWeiGan opened this issue · 1 comments

Reproduction link

https://github.com/KokWeiGan/ng-zorro-style-test

Steps to reproduce

Clone the repo and run "npm run build:devops"

image

What is expected?

able to build correctly.

What is actually happening?

We are upgrading from Angular 17 to Angular 18, but encountering a build production issue.
We are using it for theme customization.

Steps tried so far:
Tested on different machines
Cleared cache
Reinstalled dependencies

Environment Info
ng-zorro-antd 18.2.1
Browser Brave

It’s no longer an issue.