Repackage for easier consumption
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?
Sorry about this. And a PR is welcome to fix this. Thanks!
Here you go. #33
Could you please update the project on master branch or the README.md to show how to import the component or module?
Check out #34 now. Ignore #33.