Skip to content

Commit d4a1cf2

Browse files
committed
update packag.json to allow vite build
see comment here vitejs/vite#2657 (comment)
1 parent 7bb8a07 commit d4a1cf2

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

package.json

+8-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@
77
"module": "./lib/esm/index.js",
88
"typings": "./lib/index.d.ts",
99
"exports": {
10-
"import": "./lib/esm/index.js",
11-
"require": "./lib/cjs/index.js",
12-
"default": "./lib/cjs/index.js"
10+
".": {
11+
"import": "./lib/esm/index.js",
12+
"require": "./lib/cjs/index.js"
13+
},
14+
"./react-mosaic-component.css": {
15+
"import": "./react-mosaic-component.css",
16+
"require": "./react-mosaic-component.css"
17+
}
1318
},
1419
"style": "./react-mosaic-component.css",
1520
"files": ["/lib", "react-mosaic-component.css"],

0 commit comments

Comments
 (0)