isomorphic doT import with out fs dependency
damooo opened this issue · 2 comments
damooo commented
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.
damooo commented
My fault. can import dot/doT.js
epoberezkin commented
probably dot/doT.js
- can be added to docs