spiegel-keyman/common/web/es-bundling
Marc Durdin cd8121ef65 chore(common): builder scripts now use /resources/build/builder.inc.sh
Note: there is a bit of potential confusion about the difference between
/resources/builder.inc.sh (the full implementation for builder scripts),
and /resources/build/builder.inc.sh (the source script that builder
scripts should always use).

This allows us to make assumptions that will always be true for builder
scripts that may not be true for other scripts, such as setting base
folder.
2024-05-02 15:54:31 +07:00
..
src chore(web): Merge branch 'change/web/build-bundler-replacement' into feat/web/es6-target-artifact 2023-12-22 12:59:20 +07:00
build.sh chore(common): builder scripts now use /resources/build/builder.inc.sh 2024-05-02 15:54:31 +07:00
README.md chore(web): tweaks per review 2023-06-19 12:18:16 +07:00
tsconfig.json chore(web): removes new, improperly-placed comment 2023-12-20 09:56:31 +07: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