Skip to content

Commit

Permalink
fix: rollup build
Browse files Browse the repository at this point in the history
  • Loading branch information
ycjcl868 committed Jan 13, 2022
1 parent 8c47297 commit 0a701ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repo
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
{% if page.g6 %}
<script type="text/javascript" src="//cdn.jsdelivr.net/npm/@antv/g6@4.5.2/dist/g6.min.js" charset="utf-8"></script>
<script type="text/javascript" src="/assets/dist/js/tree.js" charset="utf-8"></script>
<script type="text/javascript" src="/assets/js/tree.js" charset="utf-8"></script>
{% endif %}
{% if site.google_analytics %}
<script>
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default {
input: 'assets/components/tree.js',
external: ['@antv/g6'],
output: {
file: 'assets/dist/js/tree.js',
file: 'assets/js/tree.js',
format: 'umd',
globals: {
'@antv/g6': 'G6',
Expand Down

0 comments on commit 0a701ec

Please sign in to comment.