-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tree shaking chart.js #89
Comments
Looking into it more, it may be that my visualizer tool does not have great support for treeshaking: btd/rollup-plugin-visualizer#96 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Having trouble getting tree-shaking to work with Chart.js and vue-chart-3
To Reproduce
In my main.js:
I am getting this result when I analyze my vendor bundle:
In vue-chart-3/dist/components.js I see this (line 7 for me):
const chart_js_1 = require("chart.js");
So is it possible vue-chart-3 isn't using tree shaking?
Version of
vue-chart-3
v3.0.9
Version of Vue
3.2.29
The text was updated successfully, but these errors were encountered: