How to suppress a style sheet or script from another module?

40 Views Asked by At

Is there a recommended way to suppress style sheets or scripts that are defined in the ResourceManifest of, and required by, another module?

I use a lot of reusable features that I carry over between Orchard projects. Each feature includes its own style sheet and/or script. For performance reasons, I want to bundle all of them before deploying a website. I need to prevent all the individual styles and scripts from loading since my single bundled file already contains all of them. Can I achieve this through my ResourceManifest?

0

There are 0 best solutions below