Skip to content

Custom resource build should use the build npm script specified in its package.json #11889

@josefaidt

Description

@josefaidt

Is this feature request related to a new or existing Amplify category?

No response

Is this related to another service?

No response

Describe the feature you'd like to request

instead of invoking node_modules/.bin/tsc directly to build custom resources, we should instead use the defined build script in the resource's package.json. This script is automatically added when we add a custom resource with amplify add custom

ref #11851

Describe the solution you'd like

see above

Describe alternatives you've considered

n/a

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request

Would this feature include a breaking change?

  • ⚠️ This feature might incur a breaking change

Metadata

Metadata

Assignees

No one assigned

    Labels

    extensibilityIssues related to expand or customize current configurationfeature-requestRequest a new featurep3platform-buildIssues related to building resources with `amplify build`

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions