Skip to content

Commit

Permalink
perf: use node: prefix to bypass require.cache call for builtins
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Dec 15, 2024
1 parent bab6508 commit 9de1eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Note that the compress method is configured with either the per route parameters
the plugin was defined as global.
```javascript
import fs from 'fs'
import fs from 'node:fs'
import fastify from 'fastify'

const app = fastify()
Expand Down

0 comments on commit 9de1eaf

Please sign in to comment.