blackajiro_Resonance/scripts/postbuild.mjs
Michael Gorini b4862b8aad init
2025-08-29 11:00:21 +02:00

10 lines
331 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: copiati manifest.json e styles.css in dist/.');
} catch (e) {
console.error('Postbuild error:', e);
process.exitCode = 1;
}