Skip to content

Commit

Permalink
chore: improve warning message grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
ludofischer committed Jun 4, 2022
1 parent 36051a5 commit 18a89b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/NodeStuffPlugin.js
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 18a89b7

Please sign in to comment.