@thirdroom/vite-plugin-rewrite-all
v1.0.2
Published
Vite 2 plugin that fix dev server not rewriting the path includes a dot [vite#2190](https://github.com/vitejs/vite/issues/2190)
Downloads
2
Readme
vite-plugin-rewrite-all
Vite 2 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