Skip to content

Unable to use inky programmatic mode in web. #119

@balatvm

Description

@balatvm

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions