Skip to content

Commit

Permalink
perf: use node: prefix to bypass require.cache call for builtins (#209
Browse files Browse the repository at this point in the history
)

Signed-off-by: Frazer Smith <[email protected]>
  • Loading branch information
Fdawgs authored Jan 9, 2025
1 parent 73ade3a commit b95dfb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion post-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
//
// ------------------------------------------------------------------

const fs = require('fs')
const fs = require('node:fs')
fs.renameSync('dist/cjs/index.d.mts', 'dist/cjs/index.d.ts')
fs.renameSync('dist/cjs/index.mjs', 'dist/cjs/index.js')

0 comments on commit b95dfb6

Please sign in to comment.