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

Remove ImportMapConfigReader dependency from PwaRuntime #152

Merged
merged 2 commits into from
Mar 31, 2024

Conversation

Spomky
Copy link
Member

@Spomky Spomky commented Mar 31, 2024

The dependency on ImportMapConfigReader has been removed from PwaRuntime code to simplify Workbox URL generation. The URL is now directly derived from the workboxPublicUrl property of the serviceWorker's workbox object. This makes the code more maintainable and easy to read.

Target branch: 1.1.x
Resolves issue #

  • It is a Bug fix
  • It is a New feature
  • Breaks BC
  • Includes Deprecations

The dependency on ImportMapConfigReader has been removed from PwaRuntime code to simplify Workbox URL generation. The URL is now directly derived from the `workboxPublicUrl` property of the serviceWorker's workbox object. This makes the code more maintainable and easy to read.
@Spomky Spomky added this to the 1.1.2 milestone Mar 31, 2024
@Spomky Spomky self-assigned this Mar 31, 2024
The ImportMapConfigReader dependency was removed from PwaRuntime.php, thus simplifying the Workbox URL generation process. The URL is now directly derived, resulting in a cleaner, more readable and easily maintainable codebase.
@Spomky Spomky merged commit 3713ae1 into 1.1.x Mar 31, 2024
7 checks passed
@Spomky Spomky deleted the bugs/duplicated-workbox-window-requirement branch March 31, 2024 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant