Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivanheral/taskr-terser
Terser plugin for Taskr
https://github.com/ivanheral/taskr-terser
Last synced: 4 days ago
JSON representation
Terser plugin for Taskr
- Host: GitHub
- URL: https://github.com/ivanheral/taskr-terser
- Owner: ivanheral
- Created: 2020-02-29T08:39:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-20T22:03:27.000Z (over 2 years ago)
- Last Synced: 2024-10-08T09:34:15.734Z (about 1 month ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @taskr/terser [![npm](https://img.shields.io/npm/v/taskr-terser.svg)](https://npmjs.org/package/taskr-terser)
> [Terser](https://github.com/terser/terser/) plugin for [Taskr](https://github.com/lukeed/taskr).
## Install
```
$ npm install --save-dev taskr-terser
```## Usage
Check out the [documentation](https://github.com/terser/terser) to see the available options.
```js
exports.terser = function * (task) {
yield task.source('src/**/*.js').terser().target('dist/js')
}
```## Support
Any issues or questions can be sent to the [Taskr monorepo](https://github.com/lukeed/taskr/issues/new).
Please be sure to specify that you are using `taskr-terser`.