browserify / static-module

convert module usage to inline expressions
MIT License
74 stars 23 forks source link

update static-eval, closes #34, #35 #38

Closed goto-bus-stop closed 6 years ago

goto-bus-stop commented 6 years ago

builds on #35, but when static-eval cannot evaluate a callback function because it is unsafe, this passes a proxy value. when the proxy callback function is called, it throws an error, but when it is stringified (eg in the generated output) it'll work.

this works with brfs, i haven't tried others yet.

e; css-extract works.

goto-bus-stop commented 6 years ago

failure on node 0.8 because that npm version didn't support ^ semver specifiers yet. we should update travis config also