Skip to content

Commit

Permalink
fix: fix plugins export from package.json
Browse files Browse the repository at this point in the history
fix #326
  • Loading branch information
wa0x6e committed Feb 28, 2023
1 parent c7d9c26 commit 3ded8a2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,19 @@
"require": "./dist/cal-heatmap.js"
},
"./package.json": "./package.json",
"./cal-heatmap.css": "./dist/cal-heatmap.css"
"./cal-heatmap.css": "./dist/cal-heatmap.css",
"./plugins/Tooltip": {
"import": "./dist/plugins/Tooltip.esm.js",
"require": "./dist/plugins/Tooltip.js"
},
"./plugins/Legend": {
"import": "./dist/plugins/Legend.esm.js",
"require": "./dist/plugins/Legend.js"
},
"./plugins/LegendLite": {
"import": "./dist/plugins/LegendLite.esm.js",
"require": "./dist/plugins/LegendLite.js"
}
},
"directories": {
"test": "test"
Expand Down

0 comments on commit 3ded8a2

Please sign in to comment.