Closed matthewmueller closed 6 years ago
e.g.
var preact = js.RawFile("./preact.js") // Render the component func Render(component jsx.Component) { js.Rewrite("$1.render($2, document.body)", preact, component) }
Turns into:
(function() { var preact = js.RawFile("./preact.js") return {} })()
e.g.
Turns into: