Skip to content

Built preview app is not deployable #310

@benadamstyles

Description

@benadamstyles

external: ['react/jsx-runtime'],

This line causes the built JS file to contain this first line:

import { jsxs, jsx, Fragment } from 'react/jsx-runtime';

This causes the following fatal browser error when serving the built preview app:

Uncaught TypeError: Failed to resolve module specifier "react/jsx-runtime". Relative references must start with either "/", "./", or "../".

This seems too deliberate to be a bug, am I missing something obvious?

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