ALiangLiang / vue-webpack-chrome-extension-template

Template for quick creation of Chrome extension on Vuejs hot reloading when developing.
MIT License
107 stars 13 forks source link

Uses unsafe-eval #2

Closed torarnv closed 6 years ago

torarnv commented 6 years ago

Would be nice with an unsafe-eval free version, both Vue and webpack should support it.

ALiangLiang commented 6 years ago

OK. I found which option causing CSP error.

    devtool: '#cheap-module-eval-source-map',

It shouldn't use cheap-module-"eval"-source-map.

torarnv commented 6 years ago

Thanks!! :)

sinchang commented 6 years ago

thanks your issue!!! 👍