Détail du package

@jswork/vite-plugin-html-banner

afeiship10MIT1.0.12

Vite plugin for html banner comments.

readme

vite-plugin-html-banner

Vite plugin for html banner comments.

version license size download

installation

npm install @jswork/vite-plugin-html-banner

usage

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import banner from '@jswork/vite-plugin-html-banner';

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [react(), banner()],
  resolve: {
    alias: {
      '@': '/src'
    }
  }
});

license

Code released under the MIT license.