Day 7, have you started playing games these days? ? ? ? What am I playing with him?

Time:2022-9-21

Day 7, have you started playing games these days? ? ? ? What am I playing with him?

Recommended Today

vue3+ts+vite problem summary – vite packaging analysis (5)

1. Packaging optimization process 1. Currently vite2.x is packaged based on rollup, not esbuild,see here2. Use rollup-plugin-visualizer (a plugin similar to webpack: webpack-bundle-analyzer) for packaging analysis. After packaging, a report.html file will be generated by default in the root directoryConfigure rollup-plugin-visualizer:The first step to install:npm i rollup-plugin-visualizer -DThe second step configuration: //vite.config.ts import { visualizer […]