redux-devtools
redux-devtools copied to clipboard
How to resolve `unsafe-eval` issues for extension development
I'm getting some
How do I resolve these issues when building the app with webpack?
Is it a simple modification to the dev.config.babel.js
?
Albeit unsuccessfully, I tried to follow what was recommended here: https://stackoverflow.com/questions/48047150/chrome-extension-compiled-by-webpack-throws-unsafe-eval-error
Has anyone encountered this before? How to move forward and get it working?
Try un-commenting this line in the base config. I don't have time to check if that works right now, but I'll take a look later.
Doing that caused this:
@Methuselah96 did you have any chance to check what's going on, I'm getting the same error
Is this causing the DevTools to not work? I get the first error when I go to GitHub with the dev build, but the DevTools still seem to work for sites that have the extension enabled.
@jonahlibrach Also, just to confirm, are you using Yarn? This repository only works with Yarn.
@jonahlibrach @hecjhs Were you able to check whether this was causing the DevTools to not work?
I'm going to go ahead and close this, but feel free to reply if you have any new information to help reproduce this issue and I can reopen it.
@Methuselah96 I'm still having issues with this, can you provide documentation on how I should run this on dev mode?
Is this causing the DevTools to not work? I get the first error when I go to GitHub with the dev build, but the DevTools still seem to work for sites that have the extension enabled.