Failed to bundle using Rollup v2.79.1
Many ckeditor plugins in JSDeliver contain the following instead of the plugin itself `/**
- Failed to bundle using Rollup v2.79.1: failed to resolve an internal import.
- If you believe this to be an issue with jsDelivr, and not with the package itself, please open an issue at https://github.com/jsdelivr/jsdelivr */
throw new Error('Failed to bundle using Rollup v2.79.1: failed to resolve an internal import. If you believe this to be an issue with jsDelivr, and not with the package itself, please open an issue at https://github.com/jsdelivr/jsdelivr');`
Thanks.
Hi @aramhovsepyan. Can you provide a link to some examples?
Hi Filip, Thanks for the prompt response. Sure, here is the link: https://cdn.jsdelivr.net/npm/@ckeditor/[email protected]/+esm Sorry if the bug is unrelated to CKEditor. Regards, Aram.
The file you are trying to access is for the legacy installation method, which requires a custom webpack setup. This installation method is still supported, but on the deprecation path.
In v42.0.0 we introduced a new installation methods (NIM), which work with any bundler and without any CKEditor-specific requirements. Please refer to the NIM migration guide for more information.
You can access the browser build, which includes the core and all open-source packages here. If you prefer to use individual plugins, you can do so by adding the dist/index.js to the URL (page-break example). However, using individual plugins from CDN is more tricky to setup and requires using an importmap.
The issue lacks the feedback we asked for two weeks. Hence, we've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.