chore(extension): remove bundle rename (#673)

This commit is contained in:
Nathan Bierema 2020-11-16 17:34:21 -05:00 committed by GitHub
parent de1fd3add6
commit 01ae238e14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 12 deletions

View File

@ -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) => {

View File

@ -1,5 +1,5 @@
// Include this script in Chrome apps and extensions for remote debugging
// <script src="chrome-extension://lmhkpmbekcpmknklioeibfkpmmfibljd/js/redux-devtools-extension.js"></script>
// <script src="chrome-extension://lmhkpmbekcpmknklioeibfkpmmfibljd/js/redux-devtools-extension.bundle.js"></script>
window.devToolsExtensionID = 'lmhkpmbekcpmknklioeibfkpmmfibljd';
require('./contentScript');

View File

@ -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": ["*"]

View File

@ -52,7 +52,7 @@
"web_accessible_resources": [
"page.bundle.js",
"inject.bundle.js",
"redux-devtools-extension.js"
"redux-devtools-extension.bundle.js"
],
"permissions": [
"notifications",