Skip to content

Commit

Permalink
update build stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpmitsch committed Dec 18, 2023
1 parent 65b277c commit 400395d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions packages/libs/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"license": "MIT",
"version": "2.0.0",
"main": "./cjs/index.js",
"module": "./esm/src/index.js",
"module": "./esm/index.js",
"types": "./index.d.ts",
"sideEffects": false,
"dependencies": {
Expand All @@ -33,19 +33,19 @@
},
"exports": {
".": {
"import": "./esm/src/index.js",
"import": "./esm/index.js",
"require": "./cjs/index.js"
},
"./core": {
"import": "./esm/src/core/index.js",
"default": "./cjs/src/core/index.js",
"types": "./esm/src/core/index.d.ts"
"import": "./esm/core/index.js",
"default": "./cjs/core/index.js",
"types": "./esm/core/index.d.ts"
}
},
"typesVersions": {
"*": {
"core": [
"./esm/src/core/index.d.ts"
"./esm/core/index.d.ts"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/sdk/rollup.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default [
input: toAbsoluteDir('./src/core/index.ts'),
plugins: [dts()], // Rollup the .d.ts files
output: {
file: `${buildRootDir}/esm/src/core/index.d.ts`,
file: `${buildRootDir}/esm/core/index.d.ts`,
format: 'es',
},
}),
Expand Down

0 comments on commit 400395d

Please sign in to comment.