init-me-seed-rollup
v0.8.1
Published
rollup seed for init-me
Downloads
74
Readme
init-me-seed-rollup
用于 插件 init-me
的 seed 包
API
const config: IConfig = require('init-me-seed-rollup');
interface IConfig {
path: string;
hooks: {
beforeStart(op: { env?: IEnv}): Promise<any>;
beforeCopy(op: { fileMap: IFileMap, targetPath: string}): Promise<IFileMap>;
};
}
interface IEnv {
type?: string
}
interface IFileMap {
[orgPath: string]: string[]
}