@itrocks/template 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -411,9 +411,10 @@ Any expression starting with `/`, `./` or `../` is considered a template include
|
|
|
411
411
|
```
|
|
412
412
|
|
|
413
413
|
The path prefix defines how the file location is resolved:
|
|
414
|
-
- `./` refers to the directory of the current template file
|
|
415
|
-
- `../` refers to the parent directory of the current template file
|
|
416
|
-
- `/` refers to the root
|
|
414
|
+
- `./` refers to the directory of the current template file,
|
|
415
|
+
- `../` refers to the parent directory of the current template file,
|
|
416
|
+
- `/` refers to the project root (not the filesystem root),
|
|
417
|
+
- `/@scope` refers to `/node_modules/@scope`, resolved from the project root.
|
|
417
418
|
|
|
418
419
|
The default contextual data is the one in the current scope.
|
|
419
420
|
|
package/package.json
CHANGED