I would like to use Inky transpilation in web app (browser) using programmatic mode. But it looks like Inky has hard dependency on fs module which restricts me to run inky in browser.
import {Inky} from 'inky';
import cheerio from 'cheerio';
ERROR in ./node_modules/mkdirp/index.js
Module not found: Error: Can't resolve 'fs'
I would like to use Inky transpilation in web app (browser) using programmatic mode. But it looks like Inky has hard dependency on fs module which restricts me to run inky in browser.
ERROR in ./node_modules/mkdirp/index.js Module not found: Error: Can't resolve 'fs'