Closed petricachiriac closed 8 years ago
Can we remove fs = require('fs'); from
here https://github.com/sujith3g/docxtemplater-link-module/blob/master/index.js#L7 and have this dependence only for testing.
On build I have this error:
ERROR in ./~/docxtemplater-link-module/index.js Module not found: Error: Cannot resolve module 'fs' in /builds/web-project/node_modules/docxtemplater-link-module @ ./~/docxtemplater-link-module/index.js 7:5-18
Removed it, fs only required for testing
fs
:+1: is working perfect now! Thanks!
Can we remove fs = require('fs'); from
here https://github.com/sujith3g/docxtemplater-link-module/blob/master/index.js#L7 and have this dependence only for testing.
On build I have this error: