adapt_framework icon indicating copy to clipboard operation
adapt_framework copied to clipboard

Omit plugin .less files from Grunt build

Open ciaranlp opened this issue 9 years ago • 2 comments

When the grunt builds it only includes the plugins that are required - thus saving many selectors helping avoid the ie9 limit.

But within the vanilla theme there are less files for many components, accordion.less, mcq.less, etc that are compiled even if that component is not included in the course, bloating the course css.

With regards to the grunt build, can we add a further level of filter on the theme less files to exclude the less that's not required?

I understand that this may require that the vanilla less files be renamed, for example, accordion.less be renamed to adapt-contrib-accordion/accordion.less

ciaranlp avatar Feb 02 '17 11:02 ciaranlp

keep an eye on the AT with this one

oliverfoster avatar Feb 06 '17 11:02 oliverfoster

I've moved this to for consideration in the v3 epic.

brian-learningpool avatar Aug 18 '17 08:08 brian-learningpool