Top-level await is not available in the configured target...
Vite2打包报Top-levelawaitisnotavailableintheconfiguredtargetenvironment直接上方案在vite.config.ts的加上下面build:{target:"es2019",}或者build:{target:"esnext",}或者build:{target:['edge90','chrome90','firefox90','safari1