Skip to content

Commit deb2841

Browse files
committed
import * as babel, because no .default
1 parent d115bcf commit deb2841

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/router-plugin/src/core/code-splitter/compilers.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as t from '@babel/types'
2-
import babel from '@babel/core'
2+
import * as babel from '@babel/core'
33
import * as template from '@babel/template'
44
import {
55
deadCodeElimination,

‎packages/router-plugin/src/core/route-autoimport-plugin.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { generateFromAst, logDiff, parseAst } from '@tanstack/router-utils'
2-
import babel from '@babel/core'
2+
import * as babel from '@babel/core'
33
import * as template from '@babel/template'
44
import { getConfig } from './config'
55
import { debug, normalizePath } from './utils'

0 commit comments

Comments
 (0)