Open Zearin opened 1 year ago
(Note: This PR is a companion to 11ty/webc#168)
The official docs have used the prefix in examples for years.
According to the NodeJS docs for Modules (§Core Modules), the node: “protocol” was added in:
node:
Personally, I like how it makes it easy to distinguish:
./
../
I haven’t found this to work in Node 14, which is our current Node minimum for a bit longer!
Okay, thanks! 🙏🏽
(Note: This PR is a companion to 11ty/webc#168)
The official docs have used the prefix in examples for years.
According to the NodeJS docs for Modules (§Core Modules), the
node:
“protocol” was added in:probablypossibly experimentally…?) v14.18.0 (released 2021-09-08; source)Personally, I like how it makes it easy to distinguish:
node:
prefix) and./
or../
prefix).