mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-17 16:38:18 +00:00
9 lines
340 B
JavaScript
9 lines
340 B
JavaScript
import path, {dirname} from 'node:path';
|
|
import {fileURLToPath} from 'node:url';
|
|
import readFilesSync from '@cloudcmd/read-files-sync';
|
|
|
|
const __filename = fileURLToPath(import.meta.url);
|
|
const __dirname = dirname(__filename);
|
|
const templatePath = path.join(__dirname, '..', 'tmpl/fs');
|
|
|
|
export default readFilesSync(templatePath, 'utf8');
|