@ktjs/babel-plugin-ktjsx 0.1.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +40 -13
- package/dist/index.d.ts +1 -6
- package/dist/index.mjs +2 -14986
- package/dist/index.mjs.map +1 -0
- package/package.json +9 -9
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ktjs/babel-plugin-ktjsx",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"main": "dist/index.
|
|
6
|
-
"module": "dist/index.
|
|
5
|
+
"main": "dist/index.mjs",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"types": "./dist/index.d.ts",
|
|
11
|
-
"import": "./dist/index.
|
|
12
|
-
"default": "./dist/index.
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"default": "./dist/index.mjs"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"files": [
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"description": "Babel plugin to make JSX-generated SVG use proper namespaces.",
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
"
|
|
28
|
+
"description_zh": "用于让 JSX 生成的 SVG 使用正确命名空间的 Babel 插件。",
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@ktjs/transformer": "^*"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@babel/core": "^7.0.0",
|
|
@@ -40,4 +40,4 @@
|
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@babel/core": "^7.0.0"
|
|
42
42
|
}
|
|
43
|
-
}
|
|
43
|
+
}
|