Skip to content

Commit

Permalink
Fix umd build
Browse files Browse the repository at this point in the history
  • Loading branch information
J-T-McC committed Aug 7, 2021
1 parent 7042074 commit fc17a4a
Show file tree
Hide file tree
Showing 5 changed files with 927 additions and 884 deletions.
2 changes: 1 addition & 1 deletion dist/vue3-chartjs.es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vue3-chartjs.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@j-t-mcc/vue3-chartjs",
"version": "1.1.2",
"version": "1.1.3",
"author": "Tyson McCarney <info@tysonmccarney.com> (https://tysonmccarney.com)",
"description": "Vue3 wrapper for Chart.js",
"license": "MIT",
Expand Down
3 changes: 2 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ export default defineConfig({
// Provide global variables to use in the UMD build
// for externalized deps
globals: {
vue: 'Vue'
vue: 'Vue',
"chart.js": 'Chart'
}
}
}
Expand Down

0 comments on commit fc17a4a

Please sign in to comment.