mirror of
https://github.com/sunniejs/vue-h5-template.git
synced 2025-04-04 22:28:42 +08:00
12 lines
232 B
TypeScript
12 lines
232 B
TypeScript
/**
|
|
* @name ConfigProgressPlugin
|
|
* @description 构建显示进度条
|
|
*/
|
|
|
|
import { Plugin } from 'vite';
|
|
import progress from 'vite-plugin-progress';
|
|
|
|
export const ConfigProgressPlugin = () => {
|
|
return progress() as Plugin;
|
|
};
|