Skip to content

Commit f86761e

Browse files
committed
Fix exports field in package.json to allow importing CSS into apps
1 parent 44d893e commit f86761e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
"type": "module",
99
"types": "./dist/main.d.ts",
1010
"module": "./dist/src/vue3-components.js",
11-
"exports": "./dist/src/vue3-components.js",
11+
"exports": {
12+
".": "./dist/src/vue3-components.js",
13+
"./css": "./dist/style.css"
14+
},
1215
"sideEffects": false,
1316
"scripts": {
1417
"lint": "vue-tsc --noEmit",

0 commit comments

Comments
 (0)