The solution I came up with was to modularize the CKEditor into a child component, in which I import the library using dynamic. Then, in the parent component, I import this child component, also using dynamic.
Also, I used a personalized build created in ckeditor builder.