From f06f178862f6572391e9462e340ce8046add46fc Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Fri, 4 Aug 2023 17:38:17 -0700 Subject: Fix incorrect docs --- docs/api/import-meta.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/api') diff --git a/docs/api/import-meta.md b/docs/api/import-meta.md index 8e148fffa..bc8de7af5 100644 --- a/docs/api/import-meta.md +++ b/docs/api/import-meta.md @@ -19,17 +19,18 @@ import.meta.resolveSync("zod") --- - `import.meta.dir` -- Absolute path to the directory containing the current fil, e.g. `/path/to/project`. Equivalent to `__dirname` in Node.js. +- Absolute path to the directory containing the current file, e.g. `/path/to/project`. Equivalent to `__dirname` in CommonJS modules (and Node.js) --- - `import.meta.file` -- The name of the current file, e.g. `index.tsx`. Equivalent to `__filename` in Node.js. +- The name of the current file, e.g. `index.tsx` --- - `import.meta.path` - Absolute path to the current file, e.g. `/path/to/project/index.tx`. +- Equivalent to `__filename` in CommonJS modules (and Node.js) --- -- cgit v1.2.3 Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/src/install/npm.zig (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2022-05-09Fix extra quote in bundled require errorsGravatar Jarred Sumner 1-2/+2
2022-05-09few more napi functionsGravatar Jarred Sumner 2-1/+30
2022-05-09Update MakefileGravatar Jarred Sumner 1-3/+3
2022-05-09Update Dockerfile.baseGravatar Jarred Sumner 1-1/+1
2022-05-09[napi] getters & setters workGravatar Jarred Sumner 1-26/+39