mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 17:46: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 gulp from 'gulp';
|
||||||
import gutil from 'gulp-util';
|
import gutil from 'gulp-util';
|
||||||
import rename from 'gulp-rename';
|
import rename from 'gulp-rename';
|
||||||
|
@ -55,14 +54,7 @@ gulp.task('webpack:build:extension', (callback) => {
|
||||||
}
|
}
|
||||||
webpackProcess(wrapConfig)
|
webpackProcess(wrapConfig)
|
||||||
.then(() => webpackProcess(prodConfig))
|
.then(() => webpackProcess(prodConfig))
|
||||||
.then(() => {
|
.then(callback);
|
||||||
const dest = './build/extension';
|
|
||||||
fs.rename(
|
|
||||||
`${dest}/redux-devtools-extension.bundle.js`,
|
|
||||||
`${dest}/redux-devtools-extension.js`,
|
|
||||||
callback
|
|
||||||
);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('copy:build:extension', (done) => {
|
gulp.task('copy:build:extension', (done) => {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// Include this script in Chrome apps and extensions for remote debugging
|
// 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';
|
window.devToolsExtensionID = 'lmhkpmbekcpmknklioeibfkpmmfibljd';
|
||||||
require('./contentScript');
|
require('./contentScript');
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
"web_accessible_resources": [
|
"web_accessible_resources": [
|
||||||
"page.bundle.js",
|
"page.bundle.js",
|
||||||
"inject.bundle.js",
|
"inject.bundle.js",
|
||||||
"redux-devtools-extension.js"
|
"redux-devtools-extension.bundle.js"
|
||||||
],
|
],
|
||||||
"externally_connectable": {
|
"externally_connectable": {
|
||||||
"ids": ["*"]
|
"ids": ["*"]
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
"web_accessible_resources": [
|
"web_accessible_resources": [
|
||||||
"page.bundle.js",
|
"page.bundle.js",
|
||||||
"inject.bundle.js",
|
"inject.bundle.js",
|
||||||
"redux-devtools-extension.js"
|
"redux-devtools-extension.bundle.js"
|
||||||
],
|
],
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"notifications",
|
"notifications",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user