Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Transforming libraries takes a long time #212
Transforming a library takes a long time; making the development flow when using libraries to become unproductive.
Running k6 in verbose mode shows the following result:
@liclac Random thoughts on this issue.
Based on the output, it looks the Babel compilation takes a lot of time when including a large library.
I have only a basic idea about
After a conversation with @liclac, we came to the conclusion that we could support a different API for ES5 modules.
referenced this issue
Sep 12, 2017
With proper documentation, I don't find having two syntaxes for the different type of modules to be a big issue. This may not be the ideal solution, but it solves this problem at this moment. Later when we found a better way, we can deprecate the ES5 require API and migrate to