Skip to content

Commit

Permalink
install lit-html in new web components project
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobiajohnson committed Jan 2, 2022
1 parent 239687e commit 9c1a346
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/cli/src/generators/WEB-COMPONENTS/index.ts
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 9c1a346

Please sign in to comment.