vite-plugin-html icon indicating copy to clipboard operation
vite-plugin-html copied to clipboard

fix single page mode: unnecessary rewrite from static assets to `index.html`

Open littlegolden opened this issue 3 years ago • 3 comments

this pr only fix the problem that could not access static files via url directly which in Single app mode, NOT Multi Page App.

Only for reference of temporary repair.

related issues: #88, #79

BEFORE

【public & assets】

image

AFTER

【public & assets】

image

littlegolden avatar Jul 22 '22 15:07 littlegolden

@vben-admin @anncwb why the hold up here? this is a massive bug and this seems to be a good fix, could we merge and publish? Otherwise this plugin is kind off unusable as it breaks Vite dev server static assets https://vitejs.dev/guide/assets.html#the-public-directory

codfish avatar Sep 12 '22 13:09 codfish

这么严重的bug 都不给通过是放弃治疗了嘛?

liuye1296 avatar Oct 20 '22 16:10 liuye1296