Skip to content

Commit ba79f83

Browse files
committed
Auto merge of #1741 - markcatley:svg-fingerprinting, r=jtgeibel
Fingerprinting SVGs In the production build all the SVGs are copied into dist/assets without fingerprints. All other assets have fingerprints. Since all files in dist/assets are served with far-future cache headers there would be cache issues if the files were ever updated. This is not major issue as these files are not used in normal operations. Closes #1575
2 parents 8929d6a + c6d1853 commit ba79f83

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ember-cli-build.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ module.exports = function(defaults) {
3131
sassOptions: {
3232
includePaths: ['node_modules/normalize.css'],
3333
},
34+
fingerprint: {
35+
extensions: ['js', 'css', 'png', 'jpg', 'gif', 'map', 'svg', 'ttf', 'woff', 'woff2'],
36+
},
3437
});
3538

3639
// Use `app.import` to add additional libraries to the generated

0 commit comments

Comments
 (0)