New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

vite-plugin-purge-icons

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-purge-icons

vite-plugin-purge-icons


Version published
Weekly downloads
12K
increased by8.55%
Maintainers
1
Weekly downloads
 
Created

vite-plugin-purge-icons

Vite Plugin for PurgeIcons

Usage

Install

npm i vite-plugin-purge-icons -D # yarn add vite-plugin-purge-icons -D

Add to your vite.config.js

import PurgeIcons from 'vite-plugin-purge-icons'

export default {
  plugins: [
    PurgeIcons()
  ]
}

Import the /@purge-icons/icons in your main.js

import { createApp } from 'vue'
import App from './App.vue'

import '@purge-icons/generated' // <-- This

createApp(App).mount('#app')

Configuration

Check out in PurgeIcons

License

MIT License © 2020 Anthony Fu

FAQs

Package last updated on 10 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts