wavesoft / dot-dom

.dom is a tiny (512 byte) template engine that uses virtual DOM and some of react principles
Apache License 2.0
806 stars 53 forks source link

Feature: add module.exports... #4

Closed SilentCicero closed 7 years ago

SilentCicero commented 7 years ago

In order for me to use this at all I have to use global, which means I need to transpile that down. It's not nice. Please add module.exports somewhere here so I can actually use this node without global.

At least module.exports the main function. I'm fine if you auto apply it globally, I would just prefer I can setup my own globals and submethods.

wavesoft commented 7 years ago

Hey @SilentCicero you are actually right, I haven't spend enough time making it more npm friendly. Will definitely fix this ASAP

wavesoft commented 7 years ago

Hey @SilentCicero , #19 should have fixed this issue 👍 If not, feel free to re-open it!