vite-code-replace-loader
v0.0.2
Published
替换特定文件的特定代码为指定代码
Downloads
9
Readme
🚀 vite-code-replace-loader
替换特定文件的特定代码为指定代码
install
npm i vite-code-replace-loader -D
use
// vite.config.js
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import codeReplace from 'vite-code-replace-loader';
export default defineConfig({
plugins: [
codeReplace(),
// ... others
]
});
LICENSE
MIT