Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global definitions everywhere #130

Merged
merged 7 commits into from
Feb 9, 2022
Merged

Global definitions everywhere #130

merged 7 commits into from
Feb 9, 2022

Conversation

iOvergaard
Copy link
Contributor

@iOvergaard iOvergaard commented Feb 7, 2022

Description

This adds a few things to all packages:

  1. We now declare all elements directly from the element files
  2. We now define all elements directly from the element files, meaning the index.ts files no longer has any sideeffects, meaning that tree-shaking works better.

Fixes AB#17181

Fixes AB#17174

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)

Motivation and context

We now follow the intentions of the modernweb example repo

How to test?

npm run test
npm run build:prod

Checklist

  • If my change required a change to the documentation, I have updated the documentation in this pull request.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
…nd tests

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
@iOvergaard iOvergaard marked this pull request as ready for review February 7, 2022 10:33
iOvergaard and others added 3 commits February 8, 2022 10:13

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
@nielslyngsoe nielslyngsoe merged commit 7925766 into dev Feb 9, 2022
@nielslyngsoe nielslyngsoe deleted the feature/package-globals branch February 9, 2022 12:09
@iOvergaard iOvergaard added the enhancement New feature or request label Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants