Skip to content

Commit

Permalink
Merge pull request #17106 from jacobia21/install-lit-html
Browse files Browse the repository at this point in the history
CLI: Install `lit-html` in new web components project
  • Loading branch information
shilman authored Jan 3, 2022
2 parents 5253879 + 9c1a346 commit 3fdb6ea
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 3fdb6ea

Please sign in to comment.