After the introduction of ng-zorro-antd into angular6, the hot update card has been around 92% for a long time, and the module packaged out is about 5m. Is there any way to optimize it?

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?


explain the reason why the packaged file is large: extract the business code from the app.module.ts and introduce the business code in the route by lazy loading. As for the problem of slow refresh in development, no solution has been found for the time being.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2b040-2ba45.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2b040-2ba45.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?