smartpdf/ts/smartpdf.paths.ts
2018-10-06 13:25:45 +00:00

7 lines
226 B
TypeScript

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);