No description
  • TypeScript 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-03-03 12:34:17 -08:00
src Fix options type 2022-09-16 12:31:00 -07:00
.gitignore init: add first commit 2021-02-25 10:37:56 +08:00
license docs(license): add mit license 2021-02-25 10:50:27 +08:00
package-lock.json Merge remote-tracking branch 'upstream/master' 2023-03-03 12:34:17 -08:00
package.json Merge remote-tracking branch 'upstream/master' 2023-03-03 12:34:17 -08:00
readme.md feat(package): update version support vite v4 2022-12-12 10:13:41 +08:00
tsconfig.json init: add first commit 2021-02-25 10:37:56 +08:00

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