Skip to content

Commit

Permalink
explorer: Updated vite build target to support top-level await
Browse files Browse the repository at this point in the history
  • Loading branch information
ascartabelli committed Jul 9, 2024
1 parent 6aeec66 commit 86a9487
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions explorer/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ export default defineConfig(({ mode }) => {
process.env.PUBLIC_APP_VERSION = APP_VERSION;

return {
build: {
target: ["es2022", "edge89", "firefox89", "chrome89", "safari15"],
},
define: {
CONFIG: {
LOCAL_STORAGE_APP_KEY: process.env.npm_package_name,
Expand Down

0 comments on commit 86a9487

Please sign in to comment.