mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-27 11:53:23 +01:00
Qualify CJS-only module imports
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { has } from 'lodash';
|
||||
import lodash from 'lodash';
|
||||
import { contextBridge } from 'electron';
|
||||
|
||||
import { createLogger } from '../../logging/log.js';
|
||||
@@ -29,6 +29,8 @@ import { Environment, getEnvironment } from '../../environment.js';
|
||||
import { isProduction } from '../../util/version.js';
|
||||
import { benchmarkConversationOpen } from '../../CI/benchmarkConversationOpen.js';
|
||||
|
||||
const { has } = lodash;
|
||||
|
||||
const log = createLogger('start');
|
||||
|
||||
window.addEventListener('contextmenu', e => {
|
||||
|
||||
Reference in New Issue
Block a user