From 9de1eaffc8a0f10989a167b938936d718e0048af Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sun, 15 Dec 2024 16:21:48 +0000 Subject: [PATCH] perf: use `node:` prefix to bypass require.cache call for builtins --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7116b41..ea13273 100644 --- a/README.md +++ b/README.md @@ -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()