The optimization volume of ionic_app-scripts@3.0.1 package compression is too large.

the js file generated by ionic build compression is too large, how should it be optimized?

Mar.10,2021

two common methods

  1. reduce the number of third-party libraries used, or do some tailoring
  2. separates some libraries by dynamically loading them and loading them only when they are used.

but you should first examine the composition of oversized files, see which ones take up more space, and then decide what to do with them.

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-1b3fe6a-2bd23.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-1b3fe6a-2bd23.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?