Skip to content

Commit

Permalink
Drop exports module field (#2911)
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi authored Mar 10, 2024
1 parent 7bb1dae commit 85219cc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion _internal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"main": "../dist/_internal/index.js",
"module": "../dist/_internal/index.esm.js",
"module": "../dist/_internal/index.mjs",
"types": "../dist/_internal/index.d.ts",
"private": true
}
2 changes: 1 addition & 1 deletion immutable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"main": "../dist/immutable/index.js",
"module": "../dist/immutable/index.esm.js",
"module": "../dist/immutable/index.mjs",
"types": "../dist/immutable/index.d.ts",
"private": true
}
2 changes: 1 addition & 1 deletion infinite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"main": "../dist/infinite/index.js",
"module": "../dist/infinite/index.esm.js",
"module": "../dist/infinite/index.mjs",
"types": "../dist/infinite/index.d.ts",
"private": true
}
2 changes: 1 addition & 1 deletion mutation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"main": "../dist/mutation/index.js",
"module": "../dist/mutation/index.esm.js",
"module": "../dist/mutation/index.mjs",
"types": "../dist/mutation/index.d.ts",
"private": true
}
8 changes: 1 addition & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"packageManager": "[email protected]",
"main": "./dist/core/index.js",
"module": "./dist/core/index.esm.js",
"module": "./dist/core/index.mjs",
"types": "./dist/core/index.d.ts",
"sideEffects": false,
"exports": {
Expand All @@ -23,7 +23,6 @@
"types": "./dist/core/index.d.mts",
"default": "./dist/core/index.mjs"
},
"module": "./dist/core/index.esm.js",
"require": {
"types": "./dist/core/index.d.ts",
"default": "./dist/core/index.js"
Expand All @@ -35,7 +34,6 @@
"types": "./dist/infinite/index.d.mts",
"default": "./dist/infinite/index.mjs"
},
"module": "./dist/infinite/index.esm.js",
"require": {
"types": "./dist/infinite/index.d.ts",
"default": "./dist/infinite/index.js"
Expand All @@ -46,7 +44,6 @@
"types": "./dist/immutable/index.d.mts",
"default": "./dist/immutable/index.mjs"
},
"module": "./dist/immutable/index.esm.js",
"require": {
"types": "./dist/immutable/index.d.ts",
"default": "./dist/immutable/index.js"
Expand All @@ -57,7 +54,6 @@
"types": "./dist/subscription/index.d.mts",
"default": "./dist/subscription/index.mjs"
},
"module": "./dist/subscription/index.esm.js",
"require": {
"types": "./dist/subscription/index.d.ts",
"default": "./dist/subscription/index.js"
Expand All @@ -68,7 +64,6 @@
"types": "./dist/mutation/index.d.mts",
"default": "./dist/mutation/index.mjs"
},
"module": "./dist/mutation/index.esm.js",
"require": {
"types": "./dist/mutation/index.d.ts",
"default": "./dist/mutation/index.js"
Expand All @@ -80,7 +75,6 @@
"types": "./dist/_internal/index.d.mts",
"default": "./dist/_internal/index.mjs"
},
"module": "./dist/_internal/index.esm.js",
"require": {
"types": "./dist/_internal/index.d.ts",
"default": "./dist/_internal/index.js"
Expand Down
2 changes: 1 addition & 1 deletion subscription/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"main": "../dist/subscription/index.js",
"module": "../dist/subscription/index.esm.js",
"module": "../dist/subscription/index.mjs",
"types": "../dist/subscription/index.d.ts",
"private": true
}

0 comments on commit 85219cc

Please sign in to comment.