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

Mark ftl imports side-effect free #55

Merged
merged 4 commits into from
Aug 4, 2023
Merged

Mark ftl imports side-effect free #55

merged 4 commits into from
Aug 4, 2023

Conversation

Demivan
Copy link
Member

@Demivan Demivan commented Aug 4, 2023

Description

Mark ftl file imports as side-effect free. This allows to not include them if a component is not included in a bundle.
Additionally, this greatly simplifies the plugin itself.

@codecov
Copy link

codecov bot commented Aug 4, 2023

Codecov Report

Merging #55 (8e17a6c) into main (666d3a0) will increase coverage by 0.51%.
The diff coverage is 88.23%.

❗ Current head 8e17a6c differs from pull request most recent head 7fff275. Consider uploading reports for the commit 7fff275 to get more accurate results

@@            Coverage Diff             @@
##             main      #55      +/-   ##
==========================================
+ Coverage   86.98%   87.50%   +0.51%     
==========================================
  Files           4        4              
  Lines         146      128      -18     
  Branches       31       27       -4     
==========================================
- Hits          127      112      -15     
- Misses          7        9       +2     
+ Partials       12        7       -5     
Files Changed Coverage Δ
src/loader-query.ts 100.00% <ø> (ø)
src/plugins/external-plugin.ts 81.15% <88.23%> (-0.45%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Demivan Demivan added the Type: Feature New Features label Aug 4, 2023
@Demivan Demivan merged commit 10bc3cf into main Aug 4, 2023
@Demivan Demivan deleted the ftl-side-effects branch August 4, 2023 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature New Features
Development

Successfully merging this pull request may close these issues.

1 participant