mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
build: ensure that electron/lib/browser can only use browser or common imports (#24512)
* build: ensure that electron/lib/browser can only use browser or common imports * chore: fix linting
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { shell, Menu } from 'electron';
|
||||
import { Menu } from 'electron/main';
|
||||
import { shell } from 'electron/common';
|
||||
|
||||
const v8Util = process._linkedBinding('electron_common_v8_util');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user