mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-25 19:13:56 +03:00
chore(extension): remove bundle rename (#673)
This commit is contained in:
parent
de1fd3add6
commit
01ae238e14
|
@ -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) => {
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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": ["*"]
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
"web_accessible_resources": [
|
||||
"page.bundle.js",
|
||||
"inject.bundle.js",
|
||||
"redux-devtools-extension.js"
|
||||
"redux-devtools-extension.bundle.js"
|
||||
],
|
||||
"permissions": [
|
||||
"notifications",
|
||||
|
|
Loading…
Reference in New Issue
Block a user