Use absolute path
This commit is contained in:
parent
907972c466
commit
e4fc8a8414
@ -1,7 +1,5 @@
|
||||
import { readFileSync } from 'fs';
|
||||
|
||||
console.log('DIR', __dirname);
|
||||
|
||||
export const md = {
|
||||
introduction: readFileSync('lib/md/introduction.md').toString(),
|
||||
introduction: readFileSync(`${__dirname}/introduction.md`).toString(),
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user