Xk6 as an npm package

Hi,

Relatively new to k6. :slight_smile: Just wanted to ask if there are ways to create npm package that utilizes k6-extention(particularly xk6-kafka).

We are currently trying to use xk6-kafka in our project and as of the moment we are trying to create an npm package that utilizes xk6-kafka. Using webpack, I can only generate js scripts and when I try to add ts-loader, it fails as it cannot find any k6/x/kafka module.