quasqui
Version:
The meta-framework suite designed from scratch for frontend-focused modern web development.
21 lines (17 loc) • 374 B
text/typescript
import { createPlugin } from '../core';
import { initFooPlugins } from './fooManager';
const foo = createPlugin(
() => {
const fooManage = initFooPlugins();
return {
preDev: async () => {
fooManage.fooWaterfall();
},
postDev: async () => {
fooManage.fooWorflow();
},
};
},
{ name: 'foo' },
);
export default foo;