mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
15 lines
286 B
TypeScript
15 lines
286 B
TypeScript
// @ts-ignore
|
|
import releaseIt from 'release-it';
|
|
import { build } from '../commands/build';
|
|
|
|
class VantCliReleasePlugin extends releaseIt.Plugin {
|
|
async beforeRelease() {
|
|
// log an empty line
|
|
console.log('');
|
|
|
|
await build();
|
|
}
|
|
}
|
|
|
|
module.exports = VantCliReleasePlugin;
|