Qualify CJS-only module imports
This commit is contained in:
parent
140241b83f
commit
40eaf078cc
401 changed files with 1278 additions and 593 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue