pysio2007 / Vue-blog

Pysio的个人博客
https://www.pysio.online/
GNU Affero General Public License v3.0
3 stars 4 forks source link

框架生成的前端代码存在无意义内容 #168

Closed stuffed-cat closed 1 week ago

stuffed-cat commented 1 week ago

捕获 捕获

pysio2007 commented 1 week ago

在PR #169 修复 但是直接导致了单次构建时间超过三分钟.. (但是构建产物缩小了)

> pysio-vue-blog@1.2.6 docs:build
> vuepress-vite build src
- Initializing and preparing data
✔ Initializing and preparing data - done in 2.13s
- Compiling with vite
(!) Some chunks are larger than 1024 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
✔ Compiling with vite - done in 167.74s
- Rendering 57 pages
[Vue warn]: Component console.vue is missing template or render function.
✔ Rendering 57 pages - done in 2.13s
@vuepress/plugin-seo:  ✔ Generating robots.txt
@vuepress/plugin-feed:  ✔ added 15 pages as feed items in locale /
@vuepress/plugin-sitemap:  ✔ Generating sitemap to sitemap.xml
@vuepress/plugin-sitemap:  ✔ Appended sitemap path to robots.txt
@vuepress/plugin-redirect:  ✔ Generating redirect files
success VuePress build completed in 174.76s!
Build Completed in /vercel/output [3m]
Deploying outputs...