We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8072045 + 9b26097 commit 4b82becCopy full SHA for 4b82bec
1 file changed
src/processScript/index.ts
@@ -184,7 +184,7 @@ export async function processScript(code: string, {
184
filePathResolved = getRelativePath(`.`, filePath)
185
186
if (filePath.endsWith(`.ts`)) {
187
- plugins.push([
+ plugins.unshift([
188
(await import(`@babel/plugin-transform-typescript`)),
189
{ allowDeclareFields: true, optimizeConstEnums: true }
190
])
0 commit comments