I have a problem in the backoffice in Umbraco 11.4.2. It tries to load a CSS file (editor.css) twice, first from /dist/... then from /wwwroot/dist/
The first call goes well, but the second gives 404. This is mainly a problem when debug mode is false and Smidge is trying to bundle the files and throws an error of FileNotFound.
In my code I can't find any reference to wwwroot so I don't know where to remove / configure this.
Have you had a similar problem and can help me out?
The only place where I reference editor.css is in my App_Plugins components package.manifest.
Josef Henryson
09/22/2023, 7:08 AM
Seems like a webpack issue more than Umbraco. I will dig more and leave (hopefully) my solution here.
Josef Henryson
09/29/2023, 11:08 AM
Update. Could not really find the problem. But I refactored my code and changed all references to editor.css (appears there were too many unused one of several reasons). Noe I only have one reference and it is working again.