Skip to content

AOT build does not include metadata or type definitions #2

Open
@kawazoe

Description

@kawazoe

I tried to use your lib in my project and I noticed a few issues in your build process.

In your documentation, you suggest that people import the typescript module file directly, which defeats the point of AOT compilation. For instance, we happen to have more severe compilation options in our project so importing the typescript module will cause our build to fail. Instead, people should always import your compiled files. Unfortunately, you are missing typescript definitions (*.d.ts) and ngc metadata files in your dist folder for this to work.

As far as I know, this should be an easy fix; simply changing a few configs in the build process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions