Aug 28, 2017 · 1 min read
I was thinking of using ES2015 modules and import things differently:
- to build the the library code, importing the modules functions as private functions, so they are not exposed to the outside world and their named can be minified by uglify.js
- in the test suite, importing all the functions defined in the modules and test them individually
This is just an idea, I’m still trying to understand if this is possible, but I think this could be satisfatory to me.
I’ll buy you a barley coffee in the morning ;)
