dockview/scripts/package-docs.js
2023-05-16 21:28:02 +01:00

12 lines
317 B
JavaScript

const fs = require('fs-extra');
const path = require('path');
const output = path.join(__dirname, '../build');
const websiteDir = path.join(__dirname, '../packages/docs/build');
const docsDir = path.join(__dirname, '../docs');
fs.copySync(websiteDir, output);
fs.copySync(docsDir, path.join(output, 'typedocs'));