Skip to content

fix(create-app): lit-element templates package.json#3435

Merged
patak-cat merged 1 commit intovitejs:mainfrom
patak-cat:fix/lit-element-templates
May 16, 2021
Merged

fix(create-app): lit-element templates package.json#3435
patak-cat merged 1 commit intovitejs:mainfrom
patak-cat:fix/lit-element-templates

Conversation

@patak-cat
Copy link
Copy Markdown
Member

Description

Modify names in package.json of lit templates so they are unique and Jest stop issuing a warning.

Correct main and exports fields that were pointing to the wrong file, check vite.config.js of templates.

I don't know why we are generating a lib and not an app for lit templates. I imagine that the Lit team will switch these templates to an app when they update them to Lit 2.


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Read the Pull Request Guidelines and follow the Commit Convention.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.

@patak-cat patak-cat merged commit 74986d3 into vitejs:main May 16, 2021
fi3ework pushed a commit to fi3ework/vite that referenced this pull request May 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants