@nxext/stencil
Version:
Nx plugin for stenciljs
8 lines (7 loc) • 349 B
TypeScript
import { Tree } from '@nx/devkit';
/**
* `@nx/storybook`'s own preview.ts template is empty by default — fill in the
* one piece of Stencil-specific wiring Storybook actually needs: registering
* the generated custom-elements loader so components render at all.
*/
export declare function updatePreview(host: Tree, projectName: string): void;