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.locationso thatUri.base()works properly on Windows in most cases. -
Define
global.exportsso that it's visible to the compiled JS.