ckeditor / ckeditor5-angular

Official CKEditor 5 Angular 5+ component.
https://ckeditor.com/ckeditor-5
Other
202 stars 110 forks source link

Angular 17 uses esbuild and its not building the custom build of ckeditor. #410

Open waleedmughal42 opened 6 months ago

waleedmughal42 commented 6 months ago

I updated to Angular 17 and in this version angular uses "builder": "@angular-devkit/build-angular:browser-esbuild", to build the project and looks like its not picking up the custom-build of ckeditor in the project. When I remove esbuild from the path of builder it works fine BUT need to know why its not working with esbuild? Thanks

Witoso commented 6 months ago

Could you please prepare some minimal reproducible sample for us? On Stackblitz, etc.

everttwn commented 3 months ago

For me, the custom build had a libraryTarget of umd, I changed it to commonjs and then the editor started working again. Not really sure if this is the correct way, but it's the only thing I could come up with in the moment.