Skip to content

Commit 43a7c34

Browse files
authored
Merge pull request #5708 from plotly/fix3518-es6-import
Fix ES6 import
2 parents e932c17 + 25a30e9 commit 43a7c34

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Diff for: devtools/test_dashboard/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<div id="snapshot"></div>
2121

2222
<script src="../../node_modules/mathjax/MathJax.js?config=TeX-AMS-MML_SVG"></script>
23-
<script id="source" src="../../build/plotly.js" charset="utf-8"></script>
24-
<script src="../../build/test_dashboard-bundle.js" charset="utf-8"></script>
23+
<script charset="utf-8" id="source" type="module">import "../../build/plotly.js"</script>
24+
<script charset="utf-8" src="../../build/test_dashboard-bundle.js"></script>
2525
</body>
2626
</html>

Diff for: package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
]
6666
},
6767
"dependencies": {
68-
"@plotly/d3": "^3.5.18",
68+
"@plotly/d3": "^3.6.0",
6969
"@plotly/d3-sankey": "0.7.2",
7070
"@plotly/d3-sankey-circular": "0.33.1",
7171
"@plotly/point-cluster": "^3.1.9",

0 commit comments

Comments
 (0)