Skip to content

ECMAScript module (ESM) support #17

@gk-bbai

Description

@gk-bbai

When using @featbit/js-client-sdk within an Angular project, esbuild prints this error when building the application:

▲ [WARNING] Module '@featbit/js-client-sdk' used by 'apps/promodel-ai/src/app/feature-flags/services/feature-flag.service.ts' is not ESM

CommonJS or AMD dependencies can cause optimization bailouts.
For more information see: https://angular.dev/tools/cli/build#configuring-commonjs-dependencies

Would it be feasible to support ESM in this project to avoid optimization issues in modern frontend apps?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions