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 event listeners and service workers #186

Merged
merged 1 commit into from
Apr 25, 2024
Merged

Conversation

Spomky
Copy link
Member

@Spomky Spomky commented Apr 25, 2024

The code has been refactored to simplify event listeners and service workers. Redundant event listeners have been removed and replaced with a single FileCompileEventListener. The logic for serving manifest files and service workers has been abstracted into a FileCompilerInterface, which is implemented by ServiceWorkerCompiler and ManifestCompiler. This results in more modular and coherent architecture.

Target branch:
Resolves issue #

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

The code has been refactored to simplify event listeners and service workers. Redundant event listeners have been removed and replaced with a single FileCompileEventListener. The logic for serving manifest files and service workers has been abstracted into a FileCompilerInterface, which is implemented by ServiceWorkerCompiler and ManifestCompiler. This results in more modular and coherent architecture.
@Spomky Spomky added the enhancement New feature or request label Apr 25, 2024
@Spomky Spomky added this to the 1.2.0 milestone Apr 25, 2024
@Spomky Spomky self-assigned this Apr 25, 2024
@Spomky Spomky merged commit 826b264 into 1.2.x Apr 25, 2024
8 of 10 checks passed
@Spomky Spomky deleted the dx/fil-compilers branch April 25, 2024 15:30
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.

None yet

1 participant