mirror of
https://github.com/blackajiro/Resonance.git
synced 2026-07-22 06:51:15 +00:00
10 lines
334 B
JavaScript
10 lines
334 B
JavaScript
import { cpSync } from 'node:fs';
|
|
|
|
try {
|
|
cpSync('manifest.json', 'dist/manifest.json', { recursive: false });
|
|
cpSync('styles.css', 'dist/styles.css', { recursive: false });
|
|
console.log('Postbuild: copied manifest.json and styles.css into dist/.');
|
|
} catch (e) {
|
|
console.error('Postbuild error:', e);
|
|
process.exitCode = 1;
|
|
}
|