Qualify CJS-only module imports

This commit is contained in:
Fedor Indutny 2025-09-19 13:05:51 -07:00 committed by GitHub
commit 40eaf078cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
401 changed files with 1278 additions and 593 deletions

View file

@ -4,10 +4,8 @@
const fs = require('node:fs');
const _ = require('lodash');
const packageJson = require('../package.json');
const { isBeta } = 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 beta builds. Electron-Builder uses