We have realized when working in hubspot modules that the ES6 javascript we write does not work with IE11, meaning it is not being compiled down to es5. How do we make this happen with hubspot CMS?
Hey @jonflynnh2o
This is something that you will need to work into your development workflow.
This should be pretty straight forward if you are doing using a local development workflow.
@Anton , any advice?
Ok, thanks, so I was thinking using typescript to compile down to es5 and then use ‘hs watch’ to listen out for when a module file is saved and compiled? Would that work well?
Sounds like that should do the trick.