Skip to content

How can I set publicPath to auto #251

Open
@Xeikim

Description

The generation rule for publicPath in pluginMFManifest is to set it to auto only when base is empty

publicPath = base ? base.replace(/\/?$/, '/') : 'auto';

But the default value of vite's base option is '/', and when I set base to empty, vite overrides it to the default value '/'

There seems to be no way to set the value of publicPath to 'auto'

Metadata

Assignees

No one assigned

    Labels

    COMMUNITY: PR is welcomedWe think it's a good feature to have but would love for the community to help with the PR for itgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions