7 lines
326 B
JavaScript
7 lines
326 B
JavaScript
|
|
#!/usr/bin/env node
|
||
|
|
const { mkdirSync, cpSync } = require('fs');
|
||
|
|
const { resolve } = require('path');
|
||
|
|
const src = resolve(__dirname, '..', 'packages', 'pi-coding-agent', 'dist', 'core', 'export-html');
|
||
|
|
mkdirSync('pkg/dist/core/export-html', { recursive: true });
|
||
|
|
cpSync(src, 'pkg/dist/core/export-html', { recursive: true });
|