node_preamble 1.1.0 node_preamble: ^1.1.0 copied to clipboard
Better node.js preamble for dart2js, use it in your build system.
1.1.0 #
-
Set
global.location
so thatUri.base()
works properly on Windows in most cases. -
Define
global.exports
so that it's visible to the compiled JS.