Skip to content

Commit 3ab20d4

Browse files
temporary fixes to get UI running, actual reasons need to be investigated
1 parent 13f3bd6 commit 3ab20d4

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require('./dist/backend');
1+
module.exports = require('./dist/backend').backend;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require('./dist/frontend');
1+
module.exports = require('./dist/frontend').frontend;

packages/react-devtools-shell/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@
6464
<!-- This script installs the hook, injects the backend, and renders the DevTools UI -->
6565
<!-- In DEV mode, this file is served by the Webpack dev server -->
6666
<!-- For production builds, it's built by Webpack and uploaded from the local file system -->
67-
<script src="dist/devtools.js"></script>
67+
<script src="/devtools.js"></script>
6868
</body>
69-
</html>
69+
</html>

packages/react-devtools-shell/src/devtools.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ mountButton.addEventListener('click', function() {
5050
}
5151
});
5252

53-
inject('dist/app.js', () => {
53+
inject('/app.js', () => {
5454
initDevTools({
5555
connect(cb) {
5656
const root = createRoot(container);

0 commit comments

Comments
 (0)