解决 vite 报错Top-level await is not available in the configured target environment
前言 vite 打包报了一个错: Top-level await is not available in the configured target environment (“chrome87”, “edge88”, “es2019”, “firefox78”, “safari13.1”) 一、错误原因 「ECMAScript」提案 Top-level await