primevue-mirror/packages/metadata/scripts/prebuild.mjs

6 lines
245 B
JavaScript
Raw Normal View History

2024-06-11 12:21:12 +00:00
import path from 'path';
import { removeBuild, resolvePath, updatePackageJson } from '../../../scripts/build-helper.mjs';
removeBuild(import.meta.url);
updatePackageJson(path.resolve(resolvePath(import.meta.url).__dirname, '../package.json'));