Skip to content
This repository was archived by the owner on Sep 7, 2020. It is now read-only.
This repository was archived by the owner on Sep 7, 2020. It is now read-only.

Static build can't handle named path parameter #1223

@thangngoc89

Description

@thangngoc89

I have a named parameter in a route like this one

<Route
      path="/keywords/:keyword"
      component={createContainer(
        KeywordDetailsRoute.jsComponent,
        KeywordDetailsRoute.queries
      )}
    />

It works flawlessly on dev mode build static build can't resolve it.
This is what the folder structure looks like:

image

If this is something that can't be analyzed during static build then we should warns user in dev mode.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions