Skip to content

Commit face924

Browse files
authored
Revert "Adds support for react 19 (#4623)" (#4664)
* Revert "Adds support for react 19 (#4623)" This reverts commit a1ff5f3. * Update build-test.yml
1 parent 8a65010 commit face924

File tree

5 files changed

+2
-36
lines changed

5 files changed

+2
-36
lines changed

.github/workflows/build-test.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
timeout-minutes: 2
4444
with:
4545
github-token: ${{ secrets.GITHUB_TOKEN }}
46+
fail-on-error: false
4647
- name: Package
4748
# Use --ignore-scripts here to avoid re-building again before pack
4849
run: |
@@ -52,4 +53,4 @@ jobs:
5253
uses: actions/upload-artifact@v4
5354
with:
5455
name: ${{ inputs.artifact_name || 'npm-package' }}
55-
path: preact.tgz
56+
path: preact.tgz

compat/package.json

-4
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@
3434
"import": "./server.mjs",
3535
"require": "./server.js"
3636
},
37-
"./react-19": {
38-
"import": "./react-19.mjs",
39-
"require": "./react-19.js"
40-
},
4137
"./jsx-runtime": {
4238
"import": "./jsx-runtime.mjs",
4339
"require": "./jsx-runtime.js"

compat/react-19.js

-12
This file was deleted.

compat/react-19.mjs

-12
This file was deleted.

package.json

-7
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,6 @@
8989
"import": "./compat/jsx-runtime.mjs",
9090
"require": "./compat/jsx-runtime.js"
9191
},
92-
"./compat/react-19": {
93-
"types": "./compat/src/index.d.ts",
94-
"import": "./compat/react-19.mjs",
95-
"require": "./compat/react-19.js"
96-
},
9792
"./compat/jsx-dev-runtime": {
9893
"types": "./jsx-runtime/src/index.d.ts",
9994
"import": "./compat/jsx-dev-runtime.mjs",
@@ -171,8 +166,6 @@
171166
"compat/test-utils.js",
172167
"compat/jsx-runtime.js",
173168
"compat/jsx-runtime.mjs",
174-
"compat/react-19.js",
175-
"compat/react-19.mjs",
176169
"compat/jsx-dev-runtime.js",
177170
"compat/jsx-dev-runtime.mjs",
178171
"compat/package.json",

0 commit comments

Comments
 (0)