undefinedfix
Sign in

After the introduction of NG Zorro antd into angular6, the hot update card has been 92% for a long time, and the packaged module is about 5m. What can we do to optimize it?

Mohan edited in Sat, 07 May 2022
import { NgZorroAntdModule } from 'ng-zorro-antd';

mports: [
        NgZorroAntdModule
    ],

It's just configured according to the official website, but it's too big. Have you ever met a great God?

1 Replies
altegn0
commented on Sat, 07 May 2022

Let's talk about the reason why the packaged file is large: the business code is changed from app.module.ts In routing, the service code is introduced by lazy loading. As for the problem of slow refresh in development, no solution has been found for the time being.

lock This question has been locked and the reply function has been disabled.