Thanks to visit codestin.com
Credit goes to github.com

Skip to content

__webpack_public_path__ does not work? #6024

@xsteadybcgo

Description

@xsteadybcgo

Is this a bug report?

yes

I want to set html files assetsPath in dist directory produced by htmlwebpackplugin at runtime, so I tried to figure out __webpack_public_path__ = "http://cdn.mydomain.com instead of setting publicUrl , but it doesnot work at all。 how can i set publicPath at runtime ? does not webpack_public_path support in CRA?

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