blackajiro_Resonance/scripts/postbuild.mjs
Michael Gorini d3f4bf8eeb refactor
2026-04-27 14:51:02 +02:00

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;
}