Closed martypitt closed 11 years ago
Something along the lines of...
BakehouseConfig.addMetadataHandler(new NpmInstaller()) @NpmPackage('typescript') public class TypescriptProcessor implements ResourceProcessor {
This should ensure that typescript is available via Npm, or log a warning if not present
On further thought - this is a dumb idea.
Instead, favour the approach used in the Less & Typescript processors, where we're wrapping javascript scripts in a Rhino environment
Something along the lines of...
This should ensure that typescript is available via Npm, or log a warning if not present