diff --git a/scripts/build-css.js b/scripts/build-css.js index 8d46c8b798..167de7048b 100644 --- a/scripts/build-css.js +++ b/scripts/build-css.js @@ -1,8 +1,8 @@ -const fs = require("fs"); +const fs = require("node:fs"); +const path = require("node:path"); const sass = require("sass"); const autoprefixer = require("autoprefixer"); const postcss = require("postcss"); -const path = require("path"); (async () => { const scss = fs diff --git a/scripts/build-docs.js b/scripts/build-docs.js index 92efe913ba..081bb926e7 100644 --- a/scripts/build-docs.js +++ b/scripts/build-docs.js @@ -1,4 +1,4 @@ -const fs = require("fs"); +const fs = require("node:fs"); const glob = require("glob"); const { sveld } = require("sveld"); const pkg = require("../package.json");