refactor: use node scheme imports in scripts (#38846)

* refactor: use node scheme imports in script

* refactor: use node scheme imports in build
This commit is contained in:
Milan Burda 2023-06-22 16:21:42 +02:00 committed by GitHub
parent 395b608dd5
commit abec9ead06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 105 additions and 89 deletions

View file

@ -1,7 +1,7 @@
import * as cp from 'child_process';
import * as cp from 'node:child_process';
import * as fs from 'fs-extra';
import * as os from 'os';
import * as path from 'path';
import * as os from 'node:os';
import * as path from 'node:path';
const rootPath = path.resolve(__dirname, '..');
const gniPath = path.resolve(__dirname, '../filenames.auto.gni');