Open ghost opened 8 years ago
I've noticed this works as expected (seems to be solved, only imported SCSS files get loaded) in 1.4-beta-9
I noticed it was not working again in 1.4 beta 14 (all CSS files get loaded all the time)
I'm not sure where the real issue is, with Meteor or FlowRouter. I suspect Meteor. https://github.com/meteor/meteor/issues/6852
I'd like to know when Meteor and FlowRouter get Lazy/Incremental Loading support so that I can load only the SCSS files that I need on pages that need them.
Although this might not technically be a FlowRouter issue (yet), from reading the comments on the link below https://trello.com/c/24s6vyxo/55-incremental-loading It sounds like FlowRouter might need to do something to support lazy loading SCSS when Meteor supports it.
I'm creating this issue, so that I can follow it, and be notified when something changes.
Confirmation this issue still exists in Meteor 1.3 http://stackoverflow.com/questions/36463538/meteor-1-3-1-imports-not-lazy-loading
As of Meteor 1.3.4.1 I'm still experiencing lack of support for lazy-loading of SCSS.