Skip to content

Commit

Permalink
fix: missing esm export package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardoperra committed Apr 16, 2023
1 parent a7b88d2 commit e342184
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion packages/state/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<img alt="StateBuilder" src="../../banner.png">
<img alt="StateBuilder" src="https://github.com/riccardoperra/statebuilder/raw/main/banner.png">

> **Warning** This library has been built for experimental purposes for my needs while building apps that need an
> agnostic state manager and a certain complexity.
Expand Down
44 changes: 22 additions & 22 deletions packages/state/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,43 +27,43 @@
},
"version": "0.4.1",
"source": "src/index.ts",
"module": "dist/index.mjs",
"main": "dist/index.mjs",
"module": "dist/index.js",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"private": false,
"exports": {
".": {
"import": "./dist/index.mjs",
"browser": "./dist/index.mjs",
"node": "./dist/index.mjs",
"default": "./dist/index.mjs"
"import": "./dist/index.js",
"browser": "./dist/index.js",
"node": "./dist/index.js",
"default": "./dist/index.js"
},
"./asyncAction": {
"import": "./dist/plugins/asyncAction.mjs",
"browser": "./dist/plugins/asyncAction.mjs",
"node": "./dist/plugins/asyncAction.mjs",
"default": "./dist/plugins/asyncAction.mjs"
"import": "./dist/plugins/asyncAction.js",
"browser": "./dist/plugins/asyncAction.js",
"node": "./dist/plugins/asyncAction.js",
"default": "./dist/plugins/asyncAction.js"
},
"./commands": {
"import": "./dist/plugins/commands.mjs",
"browser": "./dist/plugins/commands.mjs",
"node": "./dist/plugins/commands.mjs",
"default": "./dist/plugins/commands.mjs"
"import": "./dist/plugins/commands.js",
"browser": "./dist/plugins/commands.js",
"node": "./dist/plugins/commands.js",
"default": "./dist/plugins/commands.js"
},
"./devtools": {
"import": "./dist/plugins/devtools.mjs",
"browser": "./dist/plugins/devtools.mjs",
"node": "./dist/plugins/devtools.mjs",
"default": "./dist/plugins/devtools.mjs"
"import": "./dist/plugins/devtools.js",
"browser": "./dist/plugins/devtools.js",
"node": "./dist/plugins/devtools.js",
"default": "./dist/plugins/devtools.js"
},
"./reducer": {
"import": "./dist/plugins/reducer.mjs",
"browser": "./dist/plugins/reducer.mjs",
"node": "./dist/plugins/reducer.mjs",
"default": "./dist/plugins/reducer.mjs"
"import": "./dist/plugins/reducer.js",
"browser": "./dist/plugins/reducer.js",
"node": "./dist/plugins/reducer.js",
"default": "./dist/plugins/reducer.js"
}
},
"typesVersions": {
Expand Down

0 comments on commit e342184

Please sign in to comment.