You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that when I do a production build my web-workers/*.js get fingerprinted...however the worker service isn't aware that the worker filenames are changed so we get a 404. I fixed it by adding a fingerprint: { exclude: ['web-workers']} to my ember-cli-build.js, but I think it might be good to support fingerprinting of the worker js files. Any ideas?
The text was updated successfully, but these errors were encountered:
//leave this for fingerprinting - the string gets replaced with the fingerprinted filenameletworkerFilename="assets/web-workers/sha.js".replace('assets/web-workers/','').replace('.js','');try{file.hash=yieldthis.worker.postMessage(workerFilename,file.blob)}catch(err){...}
because broc-asset-rev searches your files and automajically updates filename strings with the fingerprinted filenames
I noticed that when I do a production build my web-workers/*.js get fingerprinted...however the
worker
service isn't aware that the worker filenames are changed so we get a 404. I fixed it by adding afingerprint: { exclude: ['web-workers']}
to myember-cli-build.js
, but I think it might be good to support fingerprinting of the worker js files. Any ideas?The text was updated successfully, but these errors were encountered: