FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: require devtools-elements.js with the extension mentioned explic… · NativeScript/NativeScript@1a15aa2 · GitHub

Commit 1a15aa2

Browse files
committed
fix: require devtools-elements.js with the extension mentioned explicitly (#6079)
This is a workaround for the issue with `@ngtools/webpack@6.1.0-rc.2`, described here: NativeScript/nativescript-dev-webpack#607 (comment)
1 parent 86f9d38 commit 1a15aa2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tns-core-modules/ui/frame/frame.android.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ let fragmentId = -1;
4242
export let moduleLoaded: boolean;
4343

4444
if (global && global.__inspector) {
45-
const devtools = require("tns-core-modules/debugger/devtools-elements");
45+
const devtools = require("tns-core-modules/debugger/devtools-elements.js");
4646
devtools.attachDOMInspectorEventCallbacks(global.__inspector);
4747
devtools.attachDOMInspectorCommandCallbacks(global.__inspector);
4848
}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL