We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
declare
1 parent 8072045 commit 9b26097Copy full SHA for 9b26097
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