1.1.2 • Published 11 months ago

vite-plugin-remove-todos v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

vite-plugin-remove-todos

A Vite plugin to remove TODO comments during the build process.

Installation

npm install vite-plugin-remove-todos

Usage

In your Vite config file (vite.config.js or astro.config.mjs):

import removeTodos from 'vite-plugin-remove-todos';

export default {
  plugins: [removeTodos()]
}

This plugin will remove single-line and multi-line TODO comments from .js, .ts, .jsx, .tsx, and .astro files during the build process.

Options

Currently, this plugin doesn't accept any options. It removes all TODO comments by default.

License

MIT

1.1.2

11 months ago

1.1.1

11 months ago

1.1.0

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago