Skip to content

ivesia/vite-plugin-rewrite-all

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vite-plugin-rewrite-all npm

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

MIT

Copyright (c) 2021-present, AlphaTr