mirror of
https://github.com/immich-app/static-pages.git
synced 2026-09-30 13:23:05 +08:00
13 lines
308 B
JavaScript
Executable File
13 lines
308 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
import { cpSync } from 'node:fs';
|
|
import { join, resolve } from 'node:path';
|
|
|
|
const main = () => {
|
|
const source = resolve(join('..', '..', 'static'));
|
|
const target = 'build/';
|
|
console.log(`Copying ${source} to ${target}`);
|
|
cpSync(source, target, { recursive: true });
|
|
};
|
|
|
|
main();
|