Skip to content

Commit 908ad31

Browse files
authored
fix: wrong module exports (#796)
1 parent c1b4545 commit 908ad31

File tree

3 files changed

+330
-25
lines changed

3 files changed

+330
-25
lines changed

package.json

+4-9
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,8 @@
1616
"exports": {
1717
".": {
1818
"types": "./dist/index.d.ts",
19-
"import": "./dist/index.mjs",
20-
"require": "./dist/index.js"
21-
},
22-
"./rsc": {
23-
"types": "./dist/rsc/index.d.ts",
24-
"import": "./dist/rsc.mjs",
25-
"require": "./dist/rsc.js"
19+
"import": "./dist/storyblok-vue.mjs",
20+
"require": "./dist/storyblok-vue.js"
2621
}
2722
},
2823
"main": "./dist/storyblok-vue.js",
@@ -35,7 +30,7 @@
3530
"dev": "vite build --watch",
3631
"playground": "pnpm run --filter ./playground/vue dev",
3732
"test": "pnpm run cy:components",
38-
"build": "vite build ",
33+
"build": "vite build",
3934
"lint": "eslint .",
4035
"lint:fix": "eslint . --fix",
4136
"cy:run": "cypress run",
@@ -62,7 +57,7 @@
6257
"kolorist": "^1.8.0",
6358
"pathe": "^1.1.2",
6459
"typescript": "^5.7.2",
65-
"vite": "^6.0.3",
60+
"vite": "^6.0.6",
6661
"vite-plugin-banner": "^0.8.0",
6762
"vite-plugin-dts": "^4.3.0",
6863
"vitest": "^2.1.8",

0 commit comments

Comments
 (0)