Skip to content

Can't resolve 'fs' in image-size #12

@truonghoangphuc

Description

@truonghoangphuc

Just install the package and the console raise an error "Can't resolve 'fs'" from module image-size (payloadcms) when I use

import { JSXConverters } from 'payloadcms-lexical-ext'

const jsxConverters: JSXConvertersFunction = ({ defaultConverters }) => ({
...defaultConverters,
...JSXConverters
})

  • payloadcms 3
  • payloadcms-lexical-ext: "^0.5.3"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions