Skip to content

Commit

Permalink
fix: word cloud import bug (#65)
Browse files Browse the repository at this point in the history
* fix: word cloud import bug

* fix: add core-js
  • Loading branch information
kristw authored and zhaoyongjie committed Nov 17, 2021
1 parent f9aadf9 commit 8988008
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"@superset-ui/time-format": "^0.11.3",
"@superset-ui/translation": "^0.11.0",
"@types/react": "^16.8.8",
"core-js": "^3.0.1",
"csstype": "^2.6.3",
"fast-glob": "^2.2.6",
"fs-extra": "^7.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default class WordCloudChartPlugin extends ChartPlugin<WordCloudFormData>
constructor() {
super({
buildQuery,
loadChart: () => import('./ReactWordCloud.js'),
loadChart: () => import('./ReactWordCloud'),
metadata,
transformProps,
});
Expand Down

0 comments on commit 8988008

Please sign in to comment.