@evg3/vite-plugin-rewrite-all
v1.0.3
Published
Vite plugin that fix dev server not rewriting the path includes a dot (https://github.com/ivesia/vite-plugin-rewrite-all) with merged PR2
Downloads
373
Readme
vite-plugin-rewrite-all
Vite plugin that fix dev server not rewriting the path includes a dot vite#2190
Installation
npm install --save-dev vite-plugin-rewrite-all
Usage
Add it to vite.config.js
import pluginRewriteAll from 'vite-plugin-rewrite-all';
export default {
plugins: [pluginRewriteAll()]
}
As long as you can rewriting all path, this should work for you.
License
Copyright (c) 2021-present, AlphaTr