1.2.19 • Published 2 years ago

count-components-webpack-plugin v1.2.19

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

Introduce

Install

npm install count-components-webpack-plugin

Use

import { CountComponentsWebpackPlugin } from 'count-components-webpack-plugin'

// in webpack plugin array
new CountComponentsWebpackPlugin({
    path: {
        uiLib: ['vant'],
        projectComponents: ['@/components']
    },
    percentageByMime: ['vue'],
    isExportExcel: true
})