I'm curious if there is a way to register parsers/preprocessors for script files referenced via GetResource.ashx. This would be useful for parsing CoffeeScript, DartJS, etc. I'd like to be able to package up support for those files without requiring Web.config changes.
I have already created a CSS parser using the following guide, but I don't see similar architecture or options for the javascript files. https://docs.kentico.com/display/K8/Registering+CSS+preprocessors
Thanks in advance for any direction you can offer!
As far as I know, there is not a preprocessor for JS files yet.
Why would you need to change web.config with javascript type resources?
I've always had to add custom handlers for certain file extensions, like CoffeeScript or DartJS, to the Web.config. I'm also having an issue with my MacroExpressions in Javascript files, which may require a JS processor.
Please, sign in to be able to submit a new answer.