Skip to content

Investigate React asset filename mismatch between development builds and app expectations #10400

@Montekkundan

Description

@Montekkundan

There appears to be a mismatch between the React UMD filenames copied during development builds and the filenames the app expects at runtime.

  • webpack.config.ts copies dev filenames in dev mode and minified filenames otherwise
  • The app bundles React as an external (React / ReactDOM), so the runtime script tags must line up exactly

If templates/pages expect react.production.min.js and react-dom.production.min.js during a dev build, the app can fail to boot and render a blank page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions