From 9c1a34693e80ea898632cf3868f3e43365afd0f8 Mon Sep 17 00:00:00 2001 From: Jacobia Johnson Date: Sat, 1 Jan 2022 22:17:35 -0500 Subject: [PATCH] install lit-html in new web components project --- lib/cli/src/generators/WEB-COMPONENTS/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/cli/src/generators/WEB-COMPONENTS/index.ts b/lib/cli/src/generators/WEB-COMPONENTS/index.ts index ee8b69800f3f..1b620f0200c7 100755 --- a/lib/cli/src/generators/WEB-COMPONENTS/index.ts +++ b/lib/cli/src/generators/WEB-COMPONENTS/index.ts @@ -1,7 +1,9 @@ import { baseGenerator, Generator } from '../baseGenerator'; const generator: Generator = async (packageManager, npmOptions, options) => { - return baseGenerator(packageManager, npmOptions, options, 'web-components'); + return baseGenerator(packageManager, npmOptions, options, 'web-components', { + extraPackages: ['lit-html'], + }); }; export default generator;