UNPKG

346 BTypeScriptView Raw
1import { ProjectOptions } from './ProjectOptions'
2import PackPluginApi from '../src/lib/ServicePluginAPI.js'
3
4type ServicePluginApplyBase = (api: PackPluginApi, options: ProjectOptions) => void
5
6export interface ServicePlugin extends ServicePluginApplyBase {
7 defaultEnvs?: Record<string, string>
8}
9
10export type ServicePluginAPI = PackPluginApi