@sphido/core
Advanced tools
Comparing version 0.0.1 to 0.0.3
{ | ||
"name": "@sphido/core", | ||
"version": "0.0.1", | ||
"version": "0.0.3", | ||
"author": { | ||
@@ -37,3 +37,3 @@ "name": "Roman Ožana", | ||
}, | ||
"gitHead": "90bc6bc73000a629fe7f005bdc9fbac170595b63" | ||
"gitHead": "20aadb38ae544afc0eaddcdbabba0e3f41222a1d" | ||
} |
@@ -13,7 +13,7 @@ # @sphido/core | ||
const globby = require('globby'); | ||
const Sphido = require('@sphido/core'); | ||
const {getPages} = require('@sphido/core'); | ||
(async () => { | ||
const pages = await Sphido.getPages( | ||
const pages = await getPages( | ||
await globby('content/**/*.{md,html}') | ||
@@ -20,0 +20,0 @@ ); |
@@ -23,3 +23,3 @@ 'use strict'; | ||
base: basename(file, ext), | ||
content: await readFile(file) | ||
content: await readFile(file, 'utf8') | ||
}; | ||
@@ -26,0 +26,0 @@ |
3256
6