Skip to content
Discussion options

You must be logged in to vote

Try changing esbuild.target option in vite.config.js

export default {
    esbuild: {
        target: "es2022"
    }
}

This works for me.

reference: #17308

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@angelhdzmultimedia
Comment options

@angelhdzmultimedia
Comment options

@Kapelianovych
Comment options

@what1s1ove
Comment options

Answer selected by angelhdzmultimedia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants