ivesia / vite-plugin-rewrite-all

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:TypeScript 100.0%