aboutsummaryrefslogtreecommitdiffstats
path: root/build/generate-svg.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/generate-svg.js')
-rwxr-xr-xbuild/generate-svg.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/generate-svg.js b/build/generate-svg.js
index c4f3d5a7f9..31e65b8a75 100755
--- a/build/generate-svg.js
+++ b/build/generate-svg.js
@@ -1,9 +1,9 @@
#!/usr/bin/env node
import fastGlob from 'fast-glob';
import {optimize} from 'svgo';
-import {parse} from 'path';
-import {readFile, writeFile, mkdir} from 'fs/promises';
-import {fileURLToPath} from 'url';
+import {parse} from 'node:path';
+import {readFile, writeFile, mkdir} from 'node:fs/promises';
+import {fileURLToPath} from 'node:url';
const glob = (pattern) => fastGlob.sync(pattern, {
cwd: fileURLToPath(new URL('..', import.meta.url)),