Skip to content

Conversation

@tbouffard
Copy link
Member

  • Add a script to build all example projects at once, simplifying the build process.
  • Ensure the "shared" package is built first, as it is required by all examples.
  • The script lists the size of the generated JavaScript files, making it easier to compare bundle sizes across different maxGraph versions.
  • Update the Parcel build to always clean the dist folder before building, as Parcel does not do this automatically. This prevents outdated files from previous builds from being included.

Notes

The script is adapted from the maxGraph repository. See maxGraph/maxGraph#822

- Add a script to build all example projects at once, simplifying the build process.
- Ensure the "shared" package is built first, as it is required by all examples.
- The script lists the size of the generated JavaScript files, making it easier to compare bundle sizes across different maxGraph versions.
- Update the Parcel build to always clean the dist folder before building, as Parcel does not do this automatically. This prevents outdated files from previous builds from being included.

[skip ci]
@tbouffard tbouffard added the chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...) label May 16, 2025
@sonarqubecloud
Copy link

@tbouffard tbouffard merged commit 460d0ca into main May 16, 2025
1 check passed
@tbouffard tbouffard deleted the chore/add_scripts_to_build_all_examples branch May 16, 2025 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant