From 18a89b7129ed05db3f3261859e1ef01976a3d277 Mon Sep 17 00:00:00 2001 From: Ludovico Fischer Date: Sat, 4 Jun 2022 16:52:07 +0200 Subject: [PATCH] chore: improve warning message grammar --- lib/NodeStuffPlugin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/NodeStuffPlugin.js b/lib/NodeStuffPlugin.js index 512c47b4d40..99676eb2f89 100644 --- a/lib/NodeStuffPlugin.js +++ b/lib/NodeStuffPlugin.js @@ -117,7 +117,7 @@ class NodeStuffPlugin { setConstant( "__filename", "/index.js", - "The __filename is Node.js feature and doesn't present in browser." + "__filename is a Node.js feature and isn't available in browsers." ); break; case true: @@ -144,7 +144,7 @@ class NodeStuffPlugin { setConstant( "__dirname", "/", - "The __dirname is Node.js feature and doesn't present in browser." + "__dirname is a Node.js feature and isn't available in browsers." ); break; case true: