mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-10-09 22:46:30 +08:00
refactor: default import for cjs deps
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import * as t from '@babel/types';
|
import t from '@babel/types';
|
||||||
import type * as BabelCore from '@babel/core';
|
import type * as BabelCore from '@babel/core';
|
||||||
import _template from '@babel/template';
|
import _template from '@babel/template';
|
||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import type * as t from '@babel/types';
|
import type t from '@babel/types';
|
||||||
import type * as BabelCore from '@babel/core';
|
import type * as BabelCore from '@babel/core';
|
||||||
import { type Options } from '@vue/babel-plugin-resolve-type';
|
import { type Options } from '@vue/babel-plugin-resolve-type';
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import * as t from '@babel/types';
|
import t from '@babel/types';
|
||||||
import { type NodePath } from '@babel/traverse';
|
import { type NodePath } from '@babel/traverse';
|
||||||
import { createIdentifier } from './utils';
|
import { createIdentifier } from './utils';
|
||||||
import type { State } from './interface';
|
import type { State } from './interface';
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import * as t from '@babel/types';
|
import t from '@babel/types';
|
||||||
import { type NodePath, type Visitor } from '@babel/traverse';
|
import { type NodePath, type Visitor } from '@babel/traverse';
|
||||||
import type { State } from './interface';
|
import type { State } from './interface';
|
||||||
import { FRAGMENT, createIdentifier } from './utils';
|
import { FRAGMENT, createIdentifier } from './utils';
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import * as t from '@babel/types';
|
import t from '@babel/types';
|
||||||
import { type NodePath, type Visitor } from '@babel/traverse';
|
import { type NodePath, type Visitor } from '@babel/traverse';
|
||||||
import { addDefault } from '@babel/helper-module-imports';
|
import { addDefault } from '@babel/helper-module-imports';
|
||||||
import {
|
import {
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import * as t from '@babel/types';
|
import t from '@babel/types';
|
||||||
import { type NodePath } from '@babel/traverse';
|
import { type NodePath } from '@babel/traverse';
|
||||||
import { isHTMLTag, isSVGTag } from '@vue/shared';
|
import { isHTMLTag, isSVGTag } from '@vue/shared';
|
||||||
import type { State } from './interface';
|
import type { State } from './interface';
|
||||||
|
Reference in New Issue
Block a user