Skip to content
Discussion options

You must be logged in to vote

Turns out, I had two problems that caused this:

  1. I was using the deprecated vite-plugin-vue2. So I upgraded to Vue 2.7 and switched to using the new plugin @vitejs/plugin-vue2.
  2. I had compilerOptions.target set to 'es2019' in my tsconfig. Setting it to 'esnext' helped solve the issue.

I can now build as expected!

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@tillsanders
Comment options

@tillsanders
Comment options

@tillsanders
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Akryum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants