olado/doT

isomorphic doT import with out fs dependency

damooo opened this issue · 2 comments

Hello guys, thanks for doT.
presently import/requireble module is defined in index.js with extra dependency on fs, for obvious functionality. But, there is no way to import only pure doT functionality, with out fs dependency. this causes bundlers like rollup, webpack to include fs also in isomorphic bundles for browsers.

is it possible to address this?
thanks again.

My fault. can import dot/doT.js

probably dot/doT.js - can be added to docs