-
Notifications
You must be signed in to change notification settings - Fork 99
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
Ejecting Create React App when building a file upload plugin with a custom build editor #87
Comments
Hi, You can create your own build or eject and modify the configuration in CRA. AFAIU, you tried to create your own build and it does not work. Did you follow this instruction – https://ckeditor.com/docs/ckeditor5/latest/builds/guides/development/custom-builds.html? What kind of errors do you see in the dev-console? |
Hi guys, sorry about the radio silence, been on mobile all weekend and didn't have a chance to copy the error.
The file mentioned in the error is available in the dependencies, it just looks like the CSS import is not working properly (should be If I then fix the import in that file, I seem to get another error:
Where it looks like the SVG icons don't get loaded properly, hence why my original question if I needed to I can provide a minimal repo for you guys to investigate if needed? Thanks, |
Not sure. Rather Webpack cannot handle our files. Let's say Webpack does not understand how to handle PostCSS that we are using in
This error means that Webpack wasn't able to load our icons. We are using I guess this article – https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/react.html#integrating-ckeditor-5-built-from-source – will help you resolve all issues. |
Thanks @pomek that's what I thought. I might wait to Thanks in the meantime :) |
Do you have some resources that describe what would change? |
Not yet unfortunately, that thread is literally all I've got :D |
Nevermind, looks like CRA 3 is only going to include a |
Hi guys,
I've recently started developing a file uploader plugin to integrate into a custom back-end and a Create React App front-end, and after updating to
ckeditor5-core v12.1.0
I started getting an error logged to console (doesn't crash the app):ckeditor-duplicated-modules: Some CKEditor 5 modules are duplicated. Read more: https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html#error-ckeditor-duplicated-modules
.I understand this is because I'm using the ClassicEditor from the build-classic package instead from the custom build one. After then trying to create my own custom build I started having errors related to CKEditor's styling files: do you know if it's necessary to
npm run eject
in order to proceed and apply your custom Webpack configuration as detailed here?Thanks,
Marco
The text was updated successfully, but these errors were encountered: