Skip to content

Commit e025421

Browse files
committed
restore original importNames order
1 parent f38856d commit e025421

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

packages/babel-plugin-jsx/src/index.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -60,26 +60,26 @@ export default declare<VueJSXPluginOptions, BabelCore.PluginObj<State>>(
6060
enter(path, state) {
6161
if (hasJSX(path)) {
6262
const importNames = [
63-
'Fragment',
64-
'createElementVNode',
65-
'createTextVNode',
6663
'createVNode',
67-
'guardReactiveProps',
68-
'isVNode',
69-
'mergeProps',
70-
'normalizeClass',
71-
'normalizeProps',
72-
'normalizeStyle',
64+
'createElementVNode',
65+
'Fragment',
7366
'resolveComponent',
74-
'resolveDirective',
75-
'vModelCheckbox',
76-
'vModelDynamic',
77-
'vModelRadio',
67+
'withDirectives',
68+
'vShow',
7869
'vModelSelect',
7970
'vModelText',
71+
'vModelCheckbox',
72+
'vModelRadio',
8073
'vModelText',
81-
'vShow',
82-
'withDirectives',
74+
'vModelDynamic',
75+
'resolveDirective',
76+
'mergeProps',
77+
'normalizeProps',
78+
'normalizeClass',
79+
'normalizeStyle',
80+
'guardReactiveProps',
81+
'createTextVNode',
82+
'isVNode',
8383
];
8484
if (isModule(path)) {
8585
// import { createVNode } from "vue";

0 commit comments

Comments
 (0)