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 'self'".
So I know this topic has been brought up before, but the workaround to include loophole
doesn’t seem to be working.
{allowUnsafeEval} = require 'loophole'
appLib = allowUnsafeEval -> require('app-lib');
appLib is just generic node package to make files and start a live-reload server.
Any reason for this, or have I done something wrong?