smartpdf/ts/smartpdf.paths.ts

7 lines
226 B
TypeScript
Raw Permalink Normal View History

2018-10-06 13:25:45 +00:00
import * as plugins from './smartpdf.plugins';
export const packageDir = plugins.path.join(__dirname, '../');
export const pdfDir = plugins.path.join(packageDir, 'assets/pdfdir');
plugins.smartfile.fs.ensureDirSync(pdfDir);