Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: xk6-ts + Bundling node modules #19

Open
Lordnibbler opened this issue May 22, 2024 · 2 comments
Open

Feature Request: xk6-ts + Bundling node modules #19

Lordnibbler opened this issue May 22, 2024 · 2 comments

Comments

@Lordnibbler
Copy link

Lordnibbler commented May 22, 2024

Hi,

Not so much an issue, but a feature request and question.

In my K6 project, I'd like to both use typescript and bundle in node dependencies following the guide here.

I was curious if you expect it to be possible to leverage esbuild and k6-pack as you currently do in this extension and support bringing in node dependencies, or if these approaches are incompatible.

Is my best bet to abandon use of this extension and rely on babel/webpack to transpile typescript per the K6 guide I linked above?

Thanks!

@szkiba
Copy link
Collaborator

szkiba commented May 23, 2024

Hi @Lordnibbler , Thanks for the suggestion. Well, it almost works now, I think it can be made to work with a little development.

@Lordnibbler
Copy link
Author

Do you mind sharing what you mean "it almost works now"? How would I bring in node modules as dependencies using xk6-ts?

Is it something you'd be open to developing? Happy to lend a hand as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants