Skip to content

Setting 'config.builld.assetsPublicPath' in Production building doesn't work #203

@Calvin-he

Description

@Calvin-he

The variable publicPath in 'build.webpack.prod.conf.js' is like this below:
publicPath: isELECTRON ? path.join(__dirname, '../dist/') : '/',

I think the correct way should be:
publicPath: isELECTRON ? path.join(__dirname, '../dist/') : 'config.builld.assetsPublicPath',

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