jonathanKingston / ember-cli-sri

Generation of SRI hashes for ember
MIT License
48 stars 15 forks source link

crossorigin attribute not being set #29

Open jcbvm opened 7 years ago

jcbvm commented 7 years ago

When I enable SRI with:

SRI: {
    enabled: true,
    crossorigin: 'anonymous'
}

the crossorigin attribute will not be set, the integrity attribute does however. Am I missing something, fingerprinting is disabled in my setup and no origin is given.

pdehlke commented 6 years ago

Experimentation shows that if you don't have a prepend: directive in the fingerprint: options, crossorigin: doesn't get set. @jonathanKingston ping.