Skip to content

Commit

Permalink
Merge pull request #345 from reduxjs/feature/tweak-artifact-names
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed Apr 3, 2023
2 parents 162562c + dfabe7e commit 6c46a8a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
12 changes: 6 additions & 6 deletions package.json
Expand Up @@ -14,15 +14,15 @@
"flux"
],
"author": "Dan Abramov <dan.abramov@me.com>",
"main": "dist/cjs/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"main": "dist/cjs/redux-thunk.cjs",
"module": "dist/redux-thunk.mjs",
"types": "dist/redux-thunk.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"default": "./dist/cjs/index.cjs"
"types": "./dist/redux-thunk.d.ts",
"import": "./dist/redux-thunk.mjs",
"default": "./dist/cjs/redux-thunk.cjs"
},
"./extend-redux": {
"types": "./extend-redux.d.ts"
Expand Down
4 changes: 3 additions & 1 deletion tsup.config.ts
Expand Up @@ -2,7 +2,9 @@ import { defineConfig, Options } from 'tsup'

export default defineConfig(options => {
const commonOptions: Partial<Options> = {
entry: ['src/index.ts'],
entry: {
'redux-thunk': 'src/index.ts'
},
...options
}

Expand Down

0 comments on commit 6c46a8a

Please sign in to comment.