Skip to content

Commit

Permalink
fix imports in vite
Browse files Browse the repository at this point in the history
  • Loading branch information
gka committed Sep 8, 2024
1 parent a63b177 commit 339af07
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,24 @@
"./light": {
"import": "./index-light.js",
"require": "./dist/chroma-light.cjs"
},
"./src/colors/*.js": {
"import": "./src/colors/*.js"
},
"./src/generator/*.js": {
"import": "./src/generator/*.js"
},
"./src/interpolator/*.js": {
"import": "./src/interpolator/*.js"
},
"./src/io/*.js": {
"import": "./src/io/*.js"
},
"./src/ops/*.js": {
"import": "./src/ops/*.js"
},
"./src/utils/*.js": {
"import": "./src/utils/*.js"
}
},
"main": "./index.js",
Expand Down

0 comments on commit 339af07

Please sign in to comment.