aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gulpfile.js8
-rw-r--r--package.json2
2 files changed, 8 insertions, 2 deletions
diff --git a/gulpfile.js b/gulpfile.js
index f01762c2a..293179892 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -120,11 +120,17 @@ gulp.task('manifest:production', function() {
'./dist/firefox/manifest.json',
'./dist/chrome/manifest.json',
'./dist/edge/manifest.json',
+ './dist/opera/manifest.json',
],{base: './dist/'})
+
+ // Exclude chromereload script in production:
.pipe(gulpif(!debug,jsoneditor(function(json) {
- json.background.scripts = ["scripts/background.js"]
+ json.background.scripts = json.background.scripts.filter((script) => {
+ return !script.includes('chromereload')
+ })
return json
})))
+
.pipe(gulp.dest('./dist/', { overwrite: true }))
})
diff --git a/package.json b/package.json
index a8f23d094..5dcae9fa1 100644
--- a/package.json
+++ b/package.json
@@ -130,7 +130,7 @@
"react-addons-css-transition-group": "^15.6.0",
"react-dom": "^15.5.4",
"react-hyperscript": "^3.0.0",
- "react-markdown": "^2.3.0",
+ "react-markdown": "^3.0.0",
"react-redux": "^5.0.5",
"react-select": "^1.0.0-rc.2",
"react-simple-file-input": "^2.0.0",