browserify / detective

Find all calls to require() no matter how deeply nested using a proper walk of the AST
Other
414 stars 60 forks source link

Add support for ES6 template functions #62

Closed vorg closed 7 years ago

vorg commented 8 years ago

I've tried to use installify (it's based on detective) with hyperx and it fails at the template string function from this example https://github.com/substack/hyperx:

var vdom = require('virtual-dom')
var hyperx = require('hyperx')
var hx = hyperx(vdom.h)
...
return hx`<div>
    <h1>clicked ${state.times} times</h1>
    <button onclick=${onclick}>click me!</button>
  </div>`
goto-bus-stop commented 7 years ago

this is fixed in recentish v4 versions. thanks!