https://github.com/septh/rollup-plugins-collection
A collection of tiny useful plugins for your everyday Rollup.
https://github.com/septh/rollup-plugins-collection
Last synced: 9 months ago
JSON representation
A collection of tiny useful plugins for your everyday Rollup.
- Host: GitHub
- URL: https://github.com/septh/rollup-plugins-collection
- Owner: Septh
- Created: 2025-09-02T13:17:29.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-09-02T14:06:27.000Z (9 months ago)
- Last Synced: 2025-09-05T01:28:22.841Z (9 months ago)
- Language: TypeScript
- Size: 28.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @septh/rollup-plugins-collection
> A collection of tiny useful plugins for your everyday Rollup.
## Usage
```sh
npm install -D @septh/rollup-plugins-collection
```
Then:
```js
import collection from '@septh/rollup-plugins-collection'
```
or
```js
import { enums, noComment, production } from '@septh/rollup-plugins-collection'
```
## Plugins therein
1. **ts-enums**: turns TypeScript `enum`'s into a tree-shakeable form.
* Extracted from [libwin32](https://github.com/Septh/libwin32).
1. **no-comment**: removes residual comments in the bundle.
* Extracted from [rollup-plugin-code-raker](https://github.com/Septh/rollup-plugin-code-raker).
1. **production**: strips `debugger` statements and `console.*` calls.
* Extracted from [rollup-plugin-code-raker](https://github.com/Septh/rollup-plugin-code-raker).
1. More to come...