FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fails to run with older versions of ESBuild · Issue #205 · contentlayerdev/contentlayer · GitHub

Fails to run with older versions of ESBuild #205

Description

Error

UnknownEsbuildError: Error: Build failed with 1 error:
[redacted]/node_modules/esbuild/lib/main.js:239:12: error: Invalid option in build() call: "jsx"

Possible cause

@contentlayer/core lists an old version in peerDependencies:

"esbuild": "0.11.x || 0.12.x || 0.13.x",

It uses the jsx option which was added in ESBuild v0.12.1:

Proposed fix

https://github.com/contentlayerdev/contentlayer/pull/204/files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL