-
Notifications
You must be signed in to change notification settings - Fork 484
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
[next] esm build not in dist #246
Comments
I was still on master. Sorry. |
The build correctly generates the esm file. |
Thanks @hsablonniere! The |
@simonbrunel Ah ok. I looked at some scripts but not those... Thanks for your work and the plugin in general ;-) We use it in our components library: https://www.clever-cloud.com/doc/clever-components/?path=/story/%F0%9F%9B%A0-overview-cc-tile-requests--default-story |
Do you want a PR? |
This is fixed by 0870ebe, released in v2.0.0-rc.1. The ESM build is now correctly:
|
You are awesome, thanks very much Simon 😍👍👏 |
Hi team,
I'm migrating from chart.js v2 to v3 and I'm looking forward to have good ESM and treeshaking support.
I've been using this plugin so I tried the
2.0.0-rc
.It works but my the ESM file referenced in the package.json is not in my
node_modules
after installation.This means my rollup configuration:
require('chart.js')
I may be mistaken but I think the rollup config is in conflict here: https://github.com/chartjs/chartjs-plugin-datalabels/blob/next/rollup.config.js#L48
How can I help?
The text was updated successfully, but these errors were encountered: