Skip to content

Sfy888/static-reminder

Repository files navigation

static-reminder

Vite插件 - 自动检测并提醒上传静态资源到CDN

功能特性

  • 自动检测项目中的public和src/static目录
  • 开发模式和构建模式都会执行检测
  • 彩色控制台输出提醒信息
  • 支持自定义静态资源目录

安装

npm install static-reminder
#
yarn add static-reminder

使用

import { defineConfig } from 'vite'
import staticReminder from 'static-reminder'

export default defineConfig({
  plugins: [
    staticReminder()
  ]
})

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors