Kevin Brogan
Kevin Brogan
build and run, fault, no keyboard input. Can still ctrl-a to select all though... extern (C) int _getch(); alias _getch getch; void main() { getch(); }
var module = module || {}, exports = causes cjs module importers to crash. This fix changes nothing in node but will allow cjs to esm converters to function correctly...
var module = module || {} When this line is in the source file, rollup is unable to parse the export. The module variable is defined in cjs by node...