Closed miku0129 closed 2 months ago
[vite:esbuild-transpile] Transform failed with 1 error: assets/index-!~{001}~.js:25766:22: ERROR: Top-level await is not available in the configured target environment ("es2019" + 2 overrides)
https://stackoverflow.com/questions/76616620/vite-refuses-to-use-the-correct-build-target-in-my-svelte-ts-project
[vite:esbuild-transpile] Transform failed with 1 error: assets/index-!~{001}~.js:25766:22: ERROR: Top-level await is not available in the configured target environment ("es2019" + 2 overrides)