@mewjs/vite-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

@mewjs/vite-plugin

Mew plugin for vite.

Install

npm install @mewjs/vite-plugin --save-dev
# or
yarn add @mewjs/vite-plugin --dev

Usage

import { defineConfig } from 'vite';
import mew from '@mewjs/vite-plugin';

export default defineConfig({
  plugins: [mew()],
});

Options

include

  • Type: string | string[]
  • Default: ['src/**/*.js', 'src/**/*.jsx', 'src/**/*.ts', 'src/**/*.tsx', 'src/**/*.vue']

A single file, or array of files, to include when linting.

exclude

  • Type: string | string[]
  • Default: 'node_modules'

A single file, or array of files, to exclude when linting.

throwOnWarning

  • Type: boolean
  • Default: true

The warnings found will be emitted, default to true.

throwOnError

  • Type: boolean
  • Default: true

The errors found will be emitted, default to true.

Package Sidebar

Install

npm i @mewjs/vite-plugin

Weekly Downloads

5

Version

1.1.1

License

MIT

Unpacked Size

14 kB

Total Files

5

Last publish

Collaborators

  • gdjinbo