How to get generated CSS file name?


#1

I am trying to use Service workers to cache the generated css file but it seems Meteor autonames the generated css file so I can’t set the options?

Anyway to get it?


#2

I’ve done this in a JavaScript helper before by doing this:

_.each(document.styleSheets, function(style) {
    // do stuff with style.href
});

For me there only ever ends up being on stylesheet, which makes sense with meteor.