I just learned about a tool called Grit, which is a tool for rewriting code. Has anyone here ever used it in their own projects?
Grit looks like it would be useful in my build process to covert standard JavaScript imports and dynamic imports into calls to the $arcgis.import function.
I would like to avoid reinventing the wheel, so before I try to implement this on my own, I was wondering if anyone here had already used Grit in this manner.
(Grit seems like the kind of thing @ReneRubalcava might have tried out, but I didn't find anything on his YouTube channel or blog.)
Solved! Go to Solution.
I have not used this (and haven't seen it mentioned before), but looks interesting. I can try and take a crack at it though. Seems to simplify some regex I would probably would have done, lol.
I have not used this (and haven't seen it mentioned before), but looks interesting. I can try and take a crack at it though. Seems to simplify some regex I would probably would have done, lol.