i use xk6 to build my k6 extension, which uses my own local projects. I add my local projects in the extension go.mod by go “replace”. But in the extension, when i use xk6 build --with command to build extension, xk6 plugin just finds some packages in my extension in the website, which is contain in my local projects. I think it should find these packages in my local projects not website. What can i do?
I had solved the problem. When building the extension, just using --replace commands, followed the --with, to add your local package into the extension.
i use xk6 to build my k6 extension, which uses my own local projects. I add my local projects in the extension go.mod by go “replace”. But in the extension, when i use xk6 build --with command to build extension, xk6 plugin just finds some packages in my extension in the website, which is contain in my local projects. I think it should find these packages in my local projects not website. What can i do?