I have modified the regular expression for webpack externals.
Currently, this regex is for k6 and k6/http, and it is better to have the condition that the name starts with k6.
Why is it important?
For example, if you start this template with the name prefix-k6/, without this condition, all modules will not be bundled.
What does this PR do?
I have modified the regular expression for webpack externals. Currently, this regex is for
k6
andk6/http
, and it is better to have the condition that the name starts withk6
.Why is it important?
For example, if you start this template with the name
prefix-k6/
, without this condition, all modules will not be bundled.