mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
Renamed "backend.js" to "react_devtools_backend.js" (#17790)
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
"web_accessible_resources": [
|
||||
"main.html",
|
||||
"panel.html",
|
||||
"build/backend.js",
|
||||
"build/react_devtools_backend.js",
|
||||
"build/renderer.js"
|
||||
],
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
"web_accessible_resources": [
|
||||
"main.html",
|
||||
"panel.html",
|
||||
"build/backend.js",
|
||||
"build/react_devtools_backend.js",
|
||||
"build/renderer.js"
|
||||
],
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ window.addEventListener('message', function(evt) {
|
||||
chrome.runtime.sendMessage(lastDetectionResult);
|
||||
} else if (evt.data.source === 'react-devtools-inject-backend') {
|
||||
const script = document.createElement('script');
|
||||
script.src = chrome.runtime.getURL('build/backend.js');
|
||||
script.src = chrome.runtime.getURL('build/react_devtools_backend.js');
|
||||
document.documentElement.appendChild(script);
|
||||
script.parentNode.removeChild(script);
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ module.exports = {
|
||||
},
|
||||
output: {
|
||||
path: __dirname + '/build',
|
||||
filename: '[name].js',
|
||||
filename: 'react_devtools_backend.js',
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
|
||||
Reference in New Issue
Block a user