Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

vite-plugin-wlb

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-wlb

> A vite plugin help you automatically open debugging tools in the development environment

latest
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

Vite Plugin Work Life Balance

A vite plugin help you automatically open debugging tools in the development environment

Install

$ yarn add vite-plugin-wlb

Usage

import WLBPlugin from 'vite-plugin-wlb'

module.exports = {
    plugins: [
        // others
        WLBPlugin()
    ]
}

Options

startWorkingTime

  • Type: number | undefind

  • Default: 10

    上班时间。

endWorkingTime

  • Type: number | undefind

  • Default: 19

    下班时间。

ignoreWeekend

  • Type: number | undefind

  • Default: false

    是否忽略周末。

warningMessage

  • Type: string | undefind

  • Default: '别卷了!现在不是工作时间!为了营造良好的工作环境,WLB插件已经将「反内卷 & 防沉迷逻辑」注入到打包产物中。'

    构建时控制台输出的文案。

FAQs

Package last updated on 26 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts