mirror of https://github.com/halo-dev/halo
![]() #### What type of PR is this? /kind cleanup /area core /milestone 2.21.x #### What this PR does / why we need it: This PR removes unused JPA dependency to reduce application size about 14.6% off. ```bash # Before ❯ ll application/build/libs total 123M -rw-r--r--. 1 johnniang johnniang 123M Jun 13 15:37 halo-2.21.0-SNAPSHOT.jar -rw-r--r--. 1 johnniang johnniang 64 Jun 13 15:37 halo-2.21.0-SNAPSHOT.jar.sha256 ``` ```bash # After ❯ ll application/build/libs total 105M -rw-r--r--. 1 johnniang johnniang 105M Jun 13 15:36 halo-2.21.0-SNAPSHOT.jar -rw-r--r--. 1 johnniang johnniang 64 Jun 13 15:36 halo-2.21.0-SNAPSHOT.jar.sha256 ``` #### Does this PR introduce a user-facing change? ```release-note 移除无用的依赖,软件包的体积减少近 15% ``` |
||
---|---|---|
.. | ||
main | ||
test |