@tsrx/vue 0.4.10 → 0.4.11
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/package.json +2 -2
- package/src/transform.js +2 -0
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Vue compiler built on @tsrx/core",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Dominic Gannaway",
|
|
6
|
-
"version": "0.4.
|
|
6
|
+
"version": "0.4.11",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"access": "public"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"esrap": "^2.4.2",
|
|
43
43
|
"is-reference": "^3.0.3",
|
|
44
44
|
"zimmerframe": "^1.1.2",
|
|
45
|
-
"@tsrx/core": "0.7.
|
|
45
|
+
"@tsrx/core": "0.7.1",
|
|
46
46
|
"@tsrx/vue-runtime": "0.2.5"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
package/src/transform.js
CHANGED
|
@@ -137,6 +137,8 @@ const vue_platform = {
|
|
|
137
137
|
// `innerHTML` there as an attribute. `v-html` sets the body as written
|
|
138
138
|
// when the element is created, and the server renders it as written.
|
|
139
139
|
scriptBody: 'v-html',
|
|
140
|
+
// vue-jsx-vapor decodes JSX text as HTML and keeps its lines.
|
|
141
|
+
textReading: { lines: 'keep', html: true },
|
|
140
142
|
},
|
|
141
143
|
validation: {
|
|
142
144
|
requireUseServerForAwait: true,
|