Skip to content
This repository was archived by the owner on Jul 19, 2021. It is now read-only.
This repository was archived by the owner on Jul 19, 2021. It is now read-only.

Show error output for rescript config errors #109

Open
@Coteh

Description

@Coteh

Hi, another quick question and feel free to close if there's something I missed when reading the documentation.

I created a .rescriptsrc.js file as a custom rescript that modifies webpack config and put this file in my project root. I noticed that when I run into any JS error, it does not display it at all, instead it shows:

You're likely seeing this bug because you haven't defined a root rescript or your root rescript contains a syntactical error. If you're certain of otherwise, please file an issue.

I took a quick skim of loader.js and I was just wondering how difficult/feasible it would be to emit errors here, or if there's another way to do it that I don't of yet. If there's something that can be implemented, I'd be interested to help as well. Thanks for reading.

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