mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-15 07:28:59 +00:00
Qualify CJS-only module imports
This commit is contained in:
@@ -4,10 +4,8 @@
|
||||
const fs = require('node:fs');
|
||||
const _ = require('lodash');
|
||||
|
||||
const packageJson = require('../package.json');
|
||||
const { isAlpha } = require('../ts/util/version.js');
|
||||
|
||||
const { version } = packageJson;
|
||||
const { default: packageJson, version } = require('./packageJson.js');
|
||||
|
||||
// You might be wondering why this file is necessary. It comes down to our desire to allow
|
||||
// side-by-side installation of production and alpha builds. Electron-Builder uses
|
||||
|
||||
Reference in New Issue
Block a user