Skip to content

Vite plugin for adding ASCII art to bless your code and keep it bug-free!

License

Notifications You must be signed in to change notification settings

ilyaliao/vite-plugin-god-bless-you

Repository files navigation

vite-plugin-god-bless-you

npm version npm downloads bundle License

Vite plugin for adding ASCII art to bless your code and keep it bug-free!

Screenshot

Usage

npm i -D vite-plugin-god-bless-you
import { defineConfig } from 'vite'
import GodBlessYou from 'vite-plugin-god-bless-you'

export default defineConfig({
  plugins: [
    GodBlessYou(),
  ],
})

Configuration

GodBlessYou({
  // default ascii arts
  art: 'dragon',

  // If `true`, the art will be printed in your terminal
  showLog: true,

  // Indentation in `index.html`
  tabSize: 4
})

You can customize your ASCII art

GodBlessYou({
  customArt: `
    /\\_/\\
   ( o.o )
    > ^ <
  Good Luck!`
})

Refer to the type definitions for more options.

Credits

License

MIT License © IlyaL

About

Vite plugin for adding ASCII art to bless your code and keep it bug-free!

Resources

License

Stars

Watchers

Forks

Packages

No packages published