diff --git a/extension/gulpfile.babel.js b/extension/gulpfile.babel.js index 839dbb33..659ecb38 100644 --- a/extension/gulpfile.babel.js +++ b/extension/gulpfile.babel.js @@ -1,4 +1,3 @@ -import fs from 'fs'; import gulp from 'gulp'; import gutil from 'gulp-util'; import rename from 'gulp-rename'; @@ -55,14 +54,7 @@ gulp.task('webpack:build:extension', (callback) => { } webpackProcess(wrapConfig) .then(() => webpackProcess(prodConfig)) - .then(() => { - const dest = './build/extension'; - fs.rename( - `${dest}/redux-devtools-extension.bundle.js`, - `${dest}/redux-devtools-extension.js`, - callback - ); - }); + .then(callback); }); gulp.task('copy:build:extension', (done) => { diff --git a/extension/src/browser/extension/inject/index.js b/extension/src/browser/extension/inject/index.js index 34f0debc..9537c081 100644 --- a/extension/src/browser/extension/inject/index.js +++ b/extension/src/browser/extension/inject/index.js @@ -1,5 +1,5 @@ // Include this script in Chrome apps and extensions for remote debugging -// +// window.devToolsExtensionID = 'lmhkpmbekcpmknklioeibfkpmmfibljd'; require('./contentScript'); diff --git a/extension/src/browser/extension/manifest.json b/extension/src/browser/extension/manifest.json index efc4a642..604e309d 100644 --- a/extension/src/browser/extension/manifest.json +++ b/extension/src/browser/extension/manifest.json @@ -55,7 +55,7 @@ "web_accessible_resources": [ "page.bundle.js", "inject.bundle.js", - "redux-devtools-extension.js" + "redux-devtools-extension.bundle.js" ], "externally_connectable": { "ids": ["*"] diff --git a/extension/src/browser/firefox/manifest.json b/extension/src/browser/firefox/manifest.json index 851452bf..efbb1bb2 100644 --- a/extension/src/browser/firefox/manifest.json +++ b/extension/src/browser/firefox/manifest.json @@ -52,7 +52,7 @@ "web_accessible_resources": [ "page.bundle.js", "inject.bundle.js", - "redux-devtools-extension.js" + "redux-devtools-extension.bundle.js" ], "permissions": [ "notifications",