UNPKG

@custom-elements-manifest/analyzer

Version:

<!-- [=> See Source <=](../../docs/analyzer/index.md) -->

12 lines (10 loc) 332 B
import { dasherize } from '@github/catalyst/lib/dasherize.js'; import { attrDecoratorPlugin } from '../decorators/attr.js'; import { controllerPlugin } from './controller.js'; export const catalystPlugin2 = () => [ attrDecoratorPlugin(attr => { attr.name = dasherize(attr.name); return attr; }), controllerPlugin() ]