Reference to wwwroot in backoffice
j
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.
Seems like a webpack issue more than Umbraco. I will dig more and leave (hopefully) my solution here.
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.
11 Views