0

I deleted a less file which I don't need anymore. I also removed the entry from default_head_blocks.xml so that it does not load anymore.

I searched my whole theme for main.css and removed all references to it.

But if I execute grunt refresh then I get Unable to resolve the source file for frontend/company/base/de_DE/css/main.less

So I executed grunt clean && grunt refresh but it makes no difference.

I also flushed all caches.

0

I had to remove the entry ` in my dev\tools\grunt\configs\local-themes.js.

company: {
    area: 'frontend',
    name: 'hausfux/base',
    locale: 'de_DE',
    files: [
        'css/styles-m',
        'css/styles-l',
        'css/main'    // <-- REMOVE THIS
    ],
    dsl: 'less'
},

Now it works

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.