123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- diff --git a/debug/package.json b/debug/package.json
- index 054944f5478a0a5cf7b6b8791950c595f956157b..06a4fe2719605eb42c5ee795101c21cfd10b59ce 100644
- --- a/debug/package.json
- +++ b/debug/package.json
- @@ -9,6 +9,7 @@
- "umd:main": "dist/debug.umd.js",
- "source": "src/index.js",
- "license": "MIT",
- + "type": "module",
- "mangle": {
- "regex": "^(?!_renderer)^_"
- },
- diff --git a/devtools/package.json b/devtools/package.json
- index 09b04a77690bdfba01083939ff9eaf987dd50bcb..92c159fbb3cf312c6674202085fb237d6fb921ad 100644
- --- a/devtools/package.json
- +++ b/devtools/package.json
- @@ -10,6 +10,7 @@
- "source": "src/index.js",
- "license": "MIT",
- "types": "src/index.d.ts",
- + "type": "module",
- "peerDependencies": {
- "preact": "^10.0.0"
- },
- diff --git a/hooks/package.json b/hooks/package.json
- index 74807025bf3de273ebada2cd355428a2c972503d..98501726ffbfe55ffa09928e56a9dcafb9a348ff 100644
- --- a/hooks/package.json
- +++ b/hooks/package.json
- @@ -10,6 +10,7 @@
- "source": "src/index.js",
- "license": "MIT",
- "types": "src/index.d.ts",
- + "type": "module",
- "scripts": {
- "build": "microbundle build --raw",
- "dev": "microbundle watch --raw --format cjs",
- diff --git a/jsx-runtime/package.json b/jsx-runtime/package.json
- index 7a4027831223f16519a74e3028c34f2f8f5f011a..6b58d17dbacce81894467ef43c0a8e2435e388c4 100644
- --- a/jsx-runtime/package.json
- +++ b/jsx-runtime/package.json
- @@ -10,6 +10,7 @@
- "source": "src/index.js",
- "types": "src/index.d.ts",
- "license": "MIT",
- + "type": "module",
- "peerDependencies": {
- "preact": "^10.0.0"
- },
- diff --git a/package.json b/package.json
- index 60279c24a08b808ffbf7dc64a038272bddb6785d..088f35fb2c92f2e9b7248557857af2839988d1aa 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",
|