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
40 changed files with 105 additions and 89 deletions

View File

@@ -1,6 +1,6 @@
const crypto = require('crypto');
const fs = require('fs');
const path = require('path');
const crypto = require('node:crypto');
const fs = require('node:fs');
const path = require('node:path');
// Fallback to blow away old cache keys
const FALLBACK_HASH_VERSION = 3;