在我的应用程序中使用 lodash 和 fabric js,但两者都不符合内容安全策略 (CSP)。
显示错误为:
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 'self' ".
有什么方法可以同时获得符合 CSP 的 lodash 和 fabric js?