I’m trying to develop a local Node package written in TypeScript that I can import into multiple Aurelia CLI projects in the same solution.
I’ve created a sample solution at:
which demonstrates my progress so far - the tooling mirrors our development infrastructure (VS 2017 / ASP.NET Core / Aurelia CLI / TypeScript).
The shared exports are compiling correctly in the referencing Aurelia project, and au build is also working with no reported errors, but the files are not being bundled correctly, resulting in lots of 404 errors for individual script files when the application loads.
Basically, I need help trying to get this final step working. I’m not sure exactly how the shared project should be structured and built so that it will be compatible for both TypeScript compilation AND Aurelia bundling.
Open to any suggestions!