Skip to content

Commit 6ca3028

Browse files
committed
Fix issue with filepaths in package.jsons
1 parent d707561 commit 6ca3028

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

packages/core/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"license": "BSD-3-Clause",
55
"sideEffects": false,
66
"files": ["**/*"],
7-
"main": "./index.js",
8-
"module": "./index.mjs",
9-
"types": "./index.d.ts",
7+
"main": "./dist/index.js",
8+
"module": "./dist/index.mjs",
9+
"types": "./dist/index.d.ts",
1010
"scripts": {
1111
"build": "vite build",
1212
"typecheck": "tsc --noEmit -p tsconfig.lib.json && tsc --noEmit -p tsconfig.spec.json",
@@ -30,9 +30,9 @@
3030
},
3131
"exports": {
3232
".": {
33-
"types": "./index.d.ts",
34-
"import": "./index.mjs",
35-
"require": "./index.js"
33+
"types": "./dist/index.d.ts",
34+
"import": "./dist/index.mjs",
35+
"require": "./dist/index.js"
3636
}
3737
}
3838
}

packages/vis-react/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"files": [
77
"**/*"
88
],
9-
"main": "./index.js",
10-
"module": "./index.mjs",
11-
"types": "./index.d.ts",
9+
"main": "./dist/index.js",
10+
"module": "./dist/index.mjs",
11+
"types": "./dist/index.d.ts",
1212
"scripts": {
1313
"build": "vite build",
1414
"typecheck": "tsc --noEmit -p tsconfig.lib.json && tsc --noEmit -p tsconfig.spec.json",
@@ -39,9 +39,9 @@
3939
},
4040
"exports": {
4141
".": {
42-
"types": "./index.d.ts",
43-
"import": "./index.mjs",
44-
"require": "./index.js"
42+
"types": "./dist/index.d.ts",
43+
"import": "./dist/index.mjs",
44+
"require": "./dist/index.js"
4545
}
4646
}
4747
}

0 commit comments

Comments
 (0)