Try relative to root dir
This commit is contained in:
parent
cc77d1dd49
commit
4ac43a9fd2
@ -1,5 +1,7 @@
|
||||
import { readFileSync } from 'fs';
|
||||
|
||||
console.log('DIR', __dirname);
|
||||
|
||||
export const md = {
|
||||
introduction: readFileSync('introduction.md').toString(),
|
||||
introduction: readFileSync('lib/md/introduction.md').toString(),
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user