mirror of
https://gitlab.com/novaloop-oss/angular/localization.git
synced 2025-12-06 04:51:52 +00:00
feat: adds scully
This commit is contained in:
12
scully/plugins/plugin.ts
Normal file
12
scully/plugins/plugin.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
import { registerPlugin, getPluginConfig } from '@scullyio/scully';
|
||||
|
||||
export const myPlugin = 'myPlugin';
|
||||
|
||||
const myFunctionPlugin = async (html: string): Promise<string> => {
|
||||
return html;
|
||||
};
|
||||
|
||||
const validator = async () => [];
|
||||
|
||||
registerPlugin('render', myPlugin, myFunctionPlugin, validator);
|
||||
Reference in New Issue
Block a user