Skip to content

Repackage for easier consumption #32

Description

@mark-bradshaw

I know this has been mentioned before in other issues, but I'd like to request again that you repackage angular-select2 as javascript so that it's easier to include in angular projects. I'm aware that you can work around this issue by modifying the tsconfig file, but this is a "hacky" thing to do.

Currently when compiling you get this error:
Module build failed: Error: node_modules/angular-select2-component/index.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv).

Typescript is trying really hard to indicate that the way angular-select2 is being packaged isn't the "right way." Can you take another look at it please, or are you willing to accept a PR to fix the issue?

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