Add resolveRefs transform
Provide a transformation function that maps absolute references to resources into relative references based on the location of a page. This makes it possible to use the same links across multiple pages in the hierarchy that works when loaded as files from the filesystem.
This commit is contained in:
parent
7aa937a7e9
commit
17f8693eae
4 changed files with 105 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"files": ["cli.ts"],
|
||||
"include": ["content"],
|
||||
"include": ["content", "utils"],
|
||||
"compilerOptions": {
|
||||
"outDir": "build/node",
|
||||
"rootDir": ".",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue