Skip to content

React.Lazy -- Webpack -- publicPath #14

@YeonV

Description

@YeonV

For Client-Side-Render-Optimation one can use React.lazy:

somehow all assets (js & css) gets the correct path set, but only the lazy-loaded onces are trying to resolve a wrong path.
To fix this, it requires the output.publicPath to be set in the webpack.config (in addition to output.path).

Sadly I cannot provide the correct path since they are all in hub_generated/template_assets
How did you resolve the correct paths for the assets?
Could you add the support for React.lazy?

Thank you very much

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