Initial commit

This commit is contained in:
jiapengyu
2026-07-27 13:37:48 +08:00
commit ecba71e2a5
39123 changed files with 5989154 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.transformUniH5Jsx = void 0;
const uni_shared_1 = require("@dcloudio/uni-shared");
function transformUniH5Jsx({ types }) {
return {
name: 'babel-plugin-uni-h5-jsx',
visitor: {
JSXOpeningElement({ node: { name } }) {
if (types.isJSXIdentifier(name) && (0, uni_shared_1.isBuiltInComponent)(name.name)) {
name.name = 'v-uni-' + name.name;
}
},
},
};
}
exports.transformUniH5Jsx = transformUniH5Jsx;