@rr0/cms 0.1.20 → 0.1.21

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.
Files changed (2) hide show
  1. package/dist/RR0Build.js +2 -2
  2. package/package.json +1 -1
package/dist/RR0Build.js CHANGED
@@ -195,8 +195,8 @@ export class RR0Build {
195
195
  replacements: [new class extends SsiIncludeReplaceCommand {
196
196
  filePath(context, fileNameArg) {
197
197
  const dirName = path.dirname(context.file.name);
198
- const filePath = fileNameArg.startsWith("/") ? options.inDir(fileNameArg) : path.join(dirName, fileNameArg);
199
- return filePath;
198
+ return fileNameArg.startsWith("/") ?
199
+ path.join(process.cwd(), options.inDir(fileNameArg)) : path.join(dirName, fileNameArg);
200
200
  }
201
201
  }([csvTransformer])],
202
202
  getOutputPath
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@rr0/cms",
3
3
  "type": "module",
4
4
  "author": "Jérôme Beau <rr0@rr0.org> (https://rr0.org)",
5
- "version": "0.1.20",
5
+ "version": "0.1.21",
6
6
  "description": "RR0 Content Management System (CMS)",
7
7
  "exports": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",