fix: removeDarkmode script updated for ESM

This commit is contained in:
Al Murad Uzzaman
2025-11-20 10:09:11 +06:00
parent 8cd72d878a
commit c648d5f4b9
3 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
const fs = require("fs");
const path = require("path");
import fs from "node:fs";
import path from "node:path";
(function () {
const rootDirs = ["src/pages", "src/hooks", "src/layouts", "src/styles"];