Shazwazza / ClientDependency

DEPRECATED. A library for managing CSS & JavaScript dependencies and optimization in ASP.Net
139 stars 65 forks source link

Babel and ClientDependency ? #126

Closed gunnim closed 7 years ago

gunnim commented 7 years ago

Is there an easy way to chain Babel processing into the CD pipeline? If not, are there any plans for it?

Shazwazza commented 7 years ago

CDF probably won't get any more features added to it. For custom processing, you could create your own IFileWriter and IHttpHandler (for debug assets) like the TypeScript one does: https://github.com/Shazwazza/ClientDependency/tree/master/ClientDependency.TypeScript (but that is also pretty outdated). The problem with CDF is that it doesn't have a 'pipeline' for debug mode assets so custom handlers with custom extensions need to be dealt with.

You should check out Smidge which is CDF's predecessor for .NET Core https://github.com/shazwazza/smidge which is far more flexible and can be extended quite easily for all sorts of things

gunnim commented 7 years ago

Thanks for the quick reply!