Skip to content

[alpha.31] Crash on self-import #285

Closed
@cyclane

Description

@cyclane

Very similar issue to #278 , except it also breaks on aleph dev. Example app.tsx file:

This time instead of going on forever it crashes with no error / debug message

import React from "react";
import { Test as test } from "./app.tsx";

export const Test = null;

export default function App({ Page, pageProps }: { Page: ComponentType<any>; pageProps: any }) {
    return (
        <main>
            <head>
                <meta name="viewport" content="width=device-width" />
            </head>
            <Page {...pageProps} />
        </main>
    );
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✘ bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions