Closed strobox closed 5 years ago
It can mess such bundler as webpack, which will try to load modules dist/nomnoml.js#L1092 var source = require('fs').readFileSync(require('path').normalize(args[1]), "utf8");
var source = require('fs').readFileSync(require('path').normalize(args[1]), "utf8");
which exists only in Node.js envirement, not in browser.
Nice
It can mess such bundler as webpack, which will try to load modules dist/nomnoml.js#L1092
var source = require('fs').readFileSync(require('path').normalize(args[1]), "utf8");
which exists only in Node.js envirement, not in browser.