Skip to content

[Bug report] a lot of warning: files in the public directory are served at the root path. #439

@winixt

Description

@winixt

Bug report

Description

use vite, public path not in root path, output a lot of warning。

  • Reproduction link / repo:

Expected behavior

not warning

Screenshots

image

image

Environment info

System:
    OS: macOS 11.5.2
    CPU: (12) x64 Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz
    Memory: 81.85 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.5.0 - ~/.nvs/node/16.5.0/x64/bin/node
    Yarn: 1.22.10 - ~/.npm-global/bin/yarn
    npm: 7.19.1 - ~/.nvs/node/16.5.0/x64/bin/npm
  Utilities:
    Git: 2.30.1 - /usr/bin/git
  Browsers:
    Chrome: 93.0.4577.63
    Edge: Not Found
    Firefox: Not Found
    Safari: 14.1.2
  npmPackages:
    @vuepress/bundler-vite:  2.0.0-beta.26 
    @vuepress/bundler-webpack:  2.0.0-beta.26 
    @vuepress/cli:  2.0.0-beta.26 
    @vuepress/client:  2.0.0-beta.26 
    @vuepress/core:  2.0.0-beta.26 
    @vuepress/markdown:  2.0.0-beta.25 
    @vuepress/plugin-active-header-links:  2.0.0-beta.26 
    @vuepress/plugin-back-to-top:  2.0.0-beta.26 
    @vuepress/plugin-container:  2.0.0-beta.26 
    @vuepress/plugin-debug: Not Found
    @vuepress/plugin-docsearch: Not Found
    @vuepress/plugin-git:  2.0.0-beta.26 
    @vuepress/plugin-google-analytics: Not Found
    @vuepress/plugin-medium-zoom:  2.0.0-beta.26 
    @vuepress/plugin-nprogress:  2.0.0-beta.26 
    @vuepress/plugin-palette:  2.0.0-beta.26 
    @vuepress/plugin-prismjs:  2.0.0-beta.26 
    @vuepress/plugin-pwa: Not Found
    @vuepress/plugin-pwa-popup: Not Found
    @vuepress/plugin-register-components: Not Found
    @vuepress/plugin-search: Not Found
    @vuepress/plugin-shiki: Not Found
    @vuepress/plugin-theme-data:  2.0.0-beta.26 
    @vuepress/plugin-toc: Not Found
    @vuepress/shared:  2.0.0-beta.25 
    @vuepress/theme-default:  2.0.0-beta.26 
    @vuepress/utils:  2.0.0-beta.25 
    vue:  3.2.6 
    vue-loader:  16.5.0 
    vue-router:  4.0.11 
    vuepress: ^2.0.0-beta.26 => 2.0.0-beta.26 
    vuepress-vite: ^2.0.0-beta.26 => 2.0.0-beta.26 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions