vite-plugin-banner-injection
v0.2.0
Published
Insert specified content into the build bundle code
Downloads
7
Maintainers
Readme
vite-plugin-banner-injection
Installation
npm install vite-plugin-banner-injection -D
Usage
in vite.config.ts
:
import { defineConfig } from 'vite';
import BannerInjection from 'vite-plugin-banner-injection';
export default defineConfig({
plugins: [
BannerInjection({
banner: 'banner content',
footer: 'footer contnet',
}),
],
});