Here is my intention Add two typescript files say: 1- app.ts and 2- decorator.ts, app.ts uses a class defined in decorator.ts.
I am trying to create a simple sample without the use of module loader so I thought in my HTML I'd add the scripts.js file references in correct order but it will work, but no I got ReferenceError: exports is not defined
My project is a ASP.NET Core Web application with static files only. I have hosted the full code on github here.
I am thinking it would work fine if I use a module loader, is this true? Can I not use these two scripts without a module loader and simple includes?
--moduletonone, or try--outFile. But really, I would just use Parcel which can bundle up your code without any configuration at all.