profilelist

1.0.4 • Public • Published

profilelist插件

为项目打包完成后,提供保存打包后每个文件的大小信息,是一款基于webpack的插件。

安装

npm i profilelist

使用

//在webpack配置文件中使用
//这里为演示案列
const ProFilelist = require('profilelist')

module.exports={
	plugins:[
		new ProFilelist({
			filename:'文件名'
		})
	]
}

参数

参数名 值类型 说明
filename string(默认list.md) 生成的md记录文件

文件生成路径

该插件生成记录文件,默认路径为打包后的出口路径里面

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i profilelist

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

6.59 kB

Total Files

9

Last publish

Collaborators

  • caidushuai