File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change 44 * Electron, visit:
55 *
66 * https://electronjs.org/docs/tutorial/application-architecture#main-and-renderer-processes
7- *
8- * By default, Node.js integration in this file is disabled. When enabling Node.js integration
9- * in a renderer process, please be aware of potential security implications. You can read
10- * more about security risks here:
11- *
12- * https://electronjs.org/docs/tutorial/security
13- *
14- * To enable Node.js integration in this file, open up `main.js` and enable the `nodeIntegration`
15- * flag:
16- *
17- * ```
18- * // Create the browser window.
19- * mainWindow = new BrowserWindow({
20- * width: 800,
21- * height: 600,
22- * webPreferences: {
23- * nodeIntegration: true
24- * }
25- * });
26- * ```
277 */
288
299import ReactDOM from "react-dom" ;
@@ -35,5 +15,3 @@ function render() {
3515}
3616
3717render ( ) ;
38-
39- console . log ( '👋 This message is being logged by "renderer.ts", included via webpack' ) ;
You can’t perform that action at this time.
0 commit comments