Currently transform takes a string and returns a string. Instead, it should return an object that contains the transformed strings as well as the transformed AST. The transformed AST could then be modified to update number literals allowing us to bypass linting and parsing when doing certain types of live updates.
Currently
transform
takes a string and returns a string. Instead, it should return an object that contains the transformed strings as well as the transformed AST. The transformed AST could then be modified to update number literals allowing us to bypass linting and parsing when doing certain types of live updates.