agrc/atlas

Two layer files from now on 3.22 and 4.4

steveoh opened this issue · 3 comments

build layer throws: Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src * 'unsafe-inline'".

https://github.com/Esri/jsapi-resources/blob/master/3.x/bower/dojo/build.profile.js#L86-L124

Not clear on what the problem is. Are you getting that error message from master? Is separating out the vector tiles stuff into a separate package the solution?

since [esri] loads dojo/dojo.js in the workers ... this makes sure dojo/dojo won’t try to load app deps and go wonky

This was closed somewhere in #200