-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
64 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,60 @@ | ||
diff --git a/debug/package.json b/debug/package.json | ||
index 71a28079028bb7ace44e86f352ac1ca09868163e..6cbf94bfeb30c6fdbba5f1755f29f587b86a1a69 100644 | ||
--- a/debug/package.json | ||
+++ b/debug/package.json | ||
@@ -15,6 +15,7 @@ | ||
"peerDependencies": { | ||
"preact": "^10.0.0" | ||
}, | ||
+ "type": "module", | ||
"exports": { | ||
".": { | ||
"browser": "./dist/debug.module.js", | ||
diff --git a/devtools/package.json b/devtools/package.json | ||
index c12ac730f0b3197afc27df6033f13325d6789799..629e41b8248df6f894c46047f874445cf12c974f 100644 | ||
--- a/devtools/package.json | ||
+++ b/devtools/package.json | ||
@@ -13,6 +13,7 @@ | ||
"peerDependencies": { | ||
"preact": "^10.0.0" | ||
}, | ||
+ "type": "module", | ||
"exports": { | ||
".": { | ||
"types": "./src/index.d.ts", | ||
diff --git a/hooks/package.json b/hooks/package.json | ||
index 787927573e95500078cf423711fa07ddbead37f1..0f252d2b9784f08a739bbef23d52cb31bdb4afa0 100644 | ||
--- a/hooks/package.json | ||
+++ b/hooks/package.json | ||
@@ -23,6 +23,7 @@ | ||
"mangle": { | ||
"regex": "^_" | ||
}, | ||
+ "type": "module", | ||
"exports": { | ||
".": { | ||
"types": "./src/index.d.ts", | ||
diff --git a/jsx-runtime/package.json b/jsx-runtime/package.json | ||
index 1014de1c8222e3a4aa03fbd64f226ef3de503562..e609d398eab3cbc9f81f51c64d02131320c3233a 100644 | ||
--- a/jsx-runtime/package.json | ||
+++ b/jsx-runtime/package.json | ||
@@ -16,6 +16,7 @@ | ||
"mangle": { | ||
"regex": "^_" | ||
}, | ||
+ "type": "module", | ||
"exports": { | ||
".": { | ||
"types": "./src/index.d.ts", | ||
diff --git a/package.json b/package.json | ||
index 60279c24a08b808ffbf7dc64a038272bddb6785d..71cb8aa038daeeb7edf43564ed78a219003a0c99 100644 | ||
index 24096672ccdded9493dea31a3add321aa487e3d1..4626226b6b07e0dee6405e210ee5b1d81986c062 100644 | ||
--- a/package.json | ||
+++ b/package.json | ||
@@ -9,6 +9,7 @@ | ||
"umd:main": "dist/preact.umd.js", | ||
"unpkg": "dist/preact.min.js", | ||
"source": "src/index.js", | ||
+ "type": "module", | ||
"exports": { | ||
".": { | ||
"types": "./src/index.d.ts", | ||
"umd:main": "dist/preact.umd.js", | ||
"unpkg": "dist/preact.min.js", | ||
"source": "src/index.js", | ||
+ "type": "module", | ||
"exports": { | ||
".": { | ||
"types": "./src/index.d.ts", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters