spiegel-keyman/common/tools/es-bundling
Marc Durdin 86a903dcf5 refactor(web): move sentry-manager and es-bundling to common
sentry-manager is used by Keyman Engine for Android and Keyman Engine
for iOS, but not directly by KeymanWeb, nor does it have any
dependencies on /web. So it does not make sense to keep it under /web.

es-bundling is used by sentry-manager and potentially other /common/web
tools in the future, so moving it under /common/tools makes it more
consistent in the future.

This is part of simplifying the web source tree; these changes do not
make significant build performance differences at this time.

Test-bot: skip
2025-11-06 15:28:04 +01:00
..
src refactor(web): move sentry-manager and es-bundling to common 2025-11-06 15:28:04 +01:00
.gitignore refactor(web): move sentry-manager and es-bundling to common 2025-11-06 15:28:04 +01:00
build.sh refactor(web): move sentry-manager and es-bundling to common 2025-11-06 15:28:04 +01:00
README.md refactor(web): move sentry-manager and es-bundling to common 2025-11-06 15:28:04 +01:00
tsconfig.json refactor(web): move sentry-manager and es-bundling to common 2025-11-06 15:28:04 +01:00

This subproject provides definitions for the common configuration settings used for bundling web/ and common/web projects via esbuild. This includes:

  • Standard settings for bundling to IIFE and ESM module formats
  • An esbuild plugin that facilitate tree-shaking of classes downcompiled to ES5 by TypeScript
  • Two esbuild plugins that facilitate tree-shaking of unused tslib helper functions