title: Will my code be transpiled twice if I use TypeScript in a Vue.js 3 project?
body: <p>I'm not very experienced in either TypeScript, Vue, or the Node ecosystem.</p>
  <p>I have a working setup created using Vue CLI, with Vue 3 and TypeScript, pretty much unchanged from how <code>vue create</code> produced the project and configuration. If I understand it correctly, Babel will refer to the <code>&quot;browserslist&quot;</code> configuration in my <code>package.json</code> and add polyfills / rewrite code to work with legacy browsers. The TypeScript compiler has <code>--target</code> and <code>--lib</code> options as well, which appear to do something similar.</p>
  <p>Is the TypeScript code I write in my Vue project transpiled twice, first by the TypeScript compiler and then by Babel? If so, is there a way to avoid this redundancy?</p>
  <hr />
  <p>Editing to add: I just created a new blank project with the above settings, and was asked if I wanted to <em>&quot;Use Babel alongside TypeScript (required for modern mode, auto-detected polyfills, transpiling JSX)&quot;</em>. I don't use JSX in Vue, but who could say no to &quot;modern mode,&quot; whatever that is.</p>