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

refactor: use Vite official API for building sw.js (#20894) (CP: 24.6) #20910

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

vaadin-bot
Copy link
Collaborator

No description provided.

* fix: fix service worker build

* fix PwaTestIT

* exclude sw.js from manifest

* generate service worker at closeBundle stage

* clean up service worker build config

* generate service worker at different stages depending on mode

* do not use lib mode to allow for minification in es format

* clean up plugin code

* add inlineDynamicImports: true option

* revert some changes to minimize diff

* add exports option for backward compatibility

---------

Co-authored-by: Teppo Kurki <teppo.kurki@vaadin.com>
@vaadin-bot
Copy link
Collaborator Author

This PR is eligible for auto-merging policy, so it has been approved automatically. If there are pending conditions, auto merge (with 'squash' method) has been enabled for this PR[Message is sent from bot]

@vaadin-bot vaadin-bot enabled auto-merge (squash) January 24, 2025 12:16
Copy link

Test Results

1 161 files  ± 0  1 161 suites  ±0   1h 37m 13s ⏱️ - 1m 52s
7 583 tests ± 0  7 527 ✅ + 1  56 💤 ±0  0 ❌ ±0 
7 890 runs  +44  7 827 ✅ +43  63 💤 +3  0 ❌ ±0 

Results for commit 7f349f4. ± Comparison against base commit d4af414.

@vaadin-bot vaadin-bot merged commit 1db7c36 into 24.6 Jan 24, 2025
25 of 26 checks passed
@vaadin-bot vaadin-bot deleted the cherry-pick-20894-to-24.6-1737720556355 branch January 24, 2025 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants