Aug 30, 2013 at 6:20 PM
Edited Aug 30, 2013 at 6:46 PM
In my typescript developments I have a lot of files other than .ts referenced by my classes (handlebars templates, ...)
These files are referenced relatively to the class file.
When I compile ts files without the -out option, I've no pb to access them.
But when I compile with the -out or -outDir their reference is lost.
Is it possible to manage a reference tag like for ts dependency management ?
Imagine this tree structure:
if fileA.ts define a special reference tag
///<referenceFile src="fileB.HTML" />
///<referenceFile src="folderC" />
Then, when I compile with the -out in out dir, then, near compiledFile.ts, fileB.html and folderC are also copied.
For the moment I already do this job with parsing all my resources before compile them with a grunt script. But it will be great to manage it in typescript compiler.