We have a custom build structure -
"build-storybook": "build-storybook -s local-dir",
but when deploying we run into this error on our GitHub pages instance.
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' 'unsafe-inline'".
we've recently updated to storybook v 6 and have verified that the local instance of storybook is working perfectly.
Describe the bug
We have a custom build structure -
"build-storybook": "build-storybook -s local-dir",
but when deploying we run into this error on our GitHub pages instance.
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' 'unsafe-inline'".
we've recently updated to storybook v 6 and have verified that the local instance of storybook is working perfectly.
Screenshots and/or logs