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

Change build platforms for better configuration and multiple build targets #219

Open
flackr opened this issue Jan 31, 2024 · 2 comments
Open

Comments

@flackr
Copy link
Owner

flackr commented Jan 31, 2024

This repo needs a build system that can handle the growing requirements. In particular, I think we need the following:

  1. Multiple build targets. In particular, I would like to support:

    • a full build (i.e. roughly what's produced today),
    • a debug build (no mangling, easy to understand issues in dev tools debugging),
    • one or more reduced builds, e.g.
      • a JS animation only build without the CSS support Minimal JS only version #173)
      • a build with minimal performance overhead, e.g. skips observers for size changes.

    I suspect the easy way we get different subsets of features is with different top level targets and modular includes. E.g. an include could install hooks for conformance code which would be no-ops when not installed.

  2. Reserved name support. See Avoid compressing constructor names when running tests #200 for a particular example where due to mangling we are failing tests.

  3. Typescript? Not strictly required but I think having strict typing will make it easier to ensure correctness and make working on the polyfill easier.

@johannesodland @bramus WDYT? Does this seem good, anything else we need?

@bramus
Copy link
Collaborator

bramus commented Jan 31, 2024

  1. (Stretch?) Auto publish tagged releases to NPM

@johannesodland
Copy link
Contributor

  1. Fast build and dev-server for development
  2. (Stretch?) Automatic versioning and changelog. (release-please, changesets or similar)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants