@keeveeg/vite-replace-prod-files
v1.0.4
Published
## Installation
Downloads
7
Readme
@keeveeg/vite-replace-prod-files
Installation
$ npm install @keeveeg/vite-replace-prod-files
Example
File ./src/router.js
will be replaced to ./src/router.prod.js
import { defineConfig } from 'vite'
import replaceProdFiles from '@keeveeg/vite-replace-prod-files'
export default defineConfig({
plugins: [replaceProdFiles(['./src/router.js']), vue()],
})