File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
src/browser/extension/inject Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11// Deprecated warning for inject.bundle.js
2- const prefix = `chrome-extension://${ window . devToolsExtensionID } /js/` ;
32/* eslint-disable no-console */
43console . warn (
5- ` Using ' ${ prefix } inject.bundle.js' is deprecated. ` +
6- ` Please use ' ${ prefix } redux-devtools-extension.js' instead.`
4+ ' Using Redux DevTools inside extensions is deprecated and won\'t be supported in the next major version. ' +
5+ ' Please use https://github.com/zalmoxisus/remote- redux-devtools instead.'
76) ;
87/* eslint-enable no-console */
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ const baseConfig = (params) => ({
1414 devtools : [ `${ extpath } devtools/index` ] ,
1515 content : [ mock , `${ extpath } inject/contentScript` ] ,
1616 pagewrap : [ `${ extpath } inject/pageScriptWrap` ] ,
17- 'redux-devtools-extension' : [ `${ extpath } inject/index` ] ,
17+ 'redux-devtools-extension' : [ `${ extpath } inject/index` , ` ${ extpath } inject/deprecatedWarn` ] ,
1818 inject : [ `${ extpath } inject/index` , `${ extpath } inject/deprecatedWarn` ] ,
1919 ...params . inputExtra
2020 } ,
You can’t perform that action at this time.
0 commit comments