1.3.4 • Published 2 years ago

vite-plugin-timer v1.3.4

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

vite-plugin-timer

vite打包过程的时间所消耗的时间显示出来。

📦 安装

npm i vite-plugin-timer -D

🔨 使用

import vitePluginTimer from 'vite-plugin-timer';
export default {
    ...
    plugins:[
        ...
        vitePluginTimer()
    ]
}

🎉 效果

效果图

🔗 参数

  • color 类型: string
    默认值: blue
    可自定义字体颜色,默认是蓝色blue
    可选值

    说明
    red红色
    green绿色
    yellow黄色
    blue蓝色
    magenta品红
    cyan青色
    white白色
  • text 类型: string
    默认值: build complete:
    可自定义文案,默认是build complete:

例子

import vitePluginTimer from 'vite-plugin-timer';

export default {
  plugins: [
    vitePluginTimer({
        color:'yellow',
        text: '打包完成:'
    })
  ]
};
1.3.4

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago