Skip to content

Merge script entrypoints #15

Description

@Flaflo

Historically two separate entrypoint bootrappers were needed for extensions and for grease monkey user scripts. As of the latest refactor of the codebase this has changed but entrypoints are still separated. They are the same duplicated code and in foreseeable future these separation will not give us a real benefit.

Thus bootstrapping and app entry can be merged into a single entrypoint for both, making bootstrapping completely obsolete.

This will reduce branching of the codebase for the different platforms even more as well as reducing the size of it as it will remove the bootstrap folder completely.

The tax for this refactor is basically zero because adding branching again for platform dependend entrypoint injection (if this will ever be needed anyways) is trivial if we weight this against the benefits we get (readability, less complexity). Especially for first readers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    technical debtImprovements to code quality or performance, cleanup deprecations, etc.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions