Closed CaptainNic closed 5 years ago
That's a really good catch. I assumed the paths would be set correctly by Node, as it's uses the path
utility for everything, but I guess I was wrong.
Thanks for taking the time to tracking this down and providing a patch as well.
Released in 1.1.0
When running ekke from Windows, the source generated from the template file contains invalid require paths due to unescaped backslashes.
The following error is produced when the ekke cli attempts to create the test bundle on Windows:
The generated exports in
ekke/api/tmp/1036ebee65e879343047194fba31798cdee8d503f5772c4d7943ef2ffa284961.js
:With this patch, the exports in the template file are correctly generated as: