Skip to content

Commit

Permalink
Refactor: Migrate codebase from cjs to esm
Browse files Browse the repository at this point in the history
- Updated all `require` statements to `import` statements.
- Replaced `module.exports` with `export` syntax.
- Ensured compatibility with ESM format across the project.
  • Loading branch information
Sunny-117 committed Aug 14, 2024
1 parent 613a0eb commit 2c80d38
Show file tree
Hide file tree
Showing 3 changed files with 402 additions and 40 deletions.
1 change: 0 additions & 1 deletion lib/node/constants.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import path from 'path';
import fs from 'fs';
import {
fileURLToPath
} from 'url';
Expand Down
Loading

0 comments on commit 2c80d38

Please sign in to comment.