We want to include performance tests in our service repos, but because we’re using typescript to write them it means including webpack, babel and lots of other clutter into the repo. The build configuration for the performance tests (using webpack) is also different from building the service (using tsc) so we’ve ended up with an npm project within a project.
Has anyone tried making a wrapper around k6 that handles the typescript conversion to JS before k6 runs it? Or has any ideas about how I could build one?