@tsrx/preact 0.1.19 → 0.1.22

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/transform.js +0 -2
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Preact compiler built on @tsrx/core",
4
4
  "license": "MIT",
5
5
  "author": "Dominic Gannaway",
6
- "version": "0.1.19",
6
+ "version": "0.1.22",
7
7
  "type": "module",
8
8
  "publishConfig": {
9
9
  "access": "public"
@@ -34,7 +34,7 @@
34
34
  "dependencies": {
35
35
  "esrap": "^2.2.8",
36
36
  "zimmerframe": "^1.1.2",
37
- "@tsrx/core": "0.1.19"
37
+ "@tsrx/core": "0.1.22"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "preact": ">=10"
package/src/transform.js CHANGED
@@ -23,7 +23,6 @@ export const DEFAULT_SUSPENSE_SOURCE = 'preact/compat';
23
23
  * Differences from React:
24
24
  * - `suspense` imports from `preact/compat` (overridable via `suspenseSource`).
25
25
  * - `rewriteClassAttr: false` — Preact accepts `class` natively.
26
- * - `acceptedTsxKinds` includes both `preact` and `react` for compat blocks.
27
26
  * - async function components are preserved as ordinary TypeScript functions.
28
27
  *
29
28
  * @type {JsxPlatform}
@@ -40,7 +39,6 @@ const preact_platform = {
40
39
  },
41
40
  jsx: {
42
41
  rewriteClassAttr: false,
43
- acceptedTsxKinds: ['preact', 'react'],
44
42
  multiRefStrategy: 'merge-refs',
45
43
  },
46
44
  validation: {