0.0.8 • Published 3 years ago

vite-plugin-clear-sth v0.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

vite-plugin-clear-sth

Access to clear sth what you want when your project is building

Install

  npm i -D vite-plugin-clear-sth

Add it to vite.config.js

  // vite.config.js
  import vue from '@vitejs/plugin-vue'
  import clearSth from 'vite-plugin-clear-sth'

  export default {
    plugins: [
      vue(),
      clearSth({
        // what you want to clear by your patterns
        patterns: [/console.log\(.*\)/],
        include: [],
        exclude: []
      })
    ]
  }
0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago