Skip to content

Commit 5692e8d

Browse files
committed
remove unsafe-eval CSP, remove minification (for AMO approval)
1 parent a3b0aea commit 5692e8d

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

shells/chrome/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"default_popup": "popups/not-found.html"
2020
},
2121

22-
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
22+
"content_security_policy": "script-src 'self'; object-src 'self'",
2323
"web_accessible_resources": [ "devtools.html", "devtools-background.html", "build/backend.js" ],
2424

2525
"devtools_page": "devtools-background.html",

shells/chrome/webpack.config.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,6 @@ if (process.env.NODE_ENV === 'production') {
6060
'process.env': {
6161
NODE_ENV: '"production"'
6262
}
63-
}),
64-
new webpack.optimize.UglifyJsPlugin({
65-
compress: {
66-
warnings: false
67-
}
6863
})
6964
]
7065
}

0 commit comments

Comments
 (0)