# grunt-file-minify

> A plugin for simple file minification by removing extra whitespaces, tabs and newline characters.

Latest version **1.0.0** (published 2019-08-19) · 0 weekly downloads

## Install

```sh
npm install grunt-file-minify
pnpm add grunt-file-minify
yarn add grunt-file-minify
bun add grunt-file-minify
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-08-19 |
| First published | 2019-08-19 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 1 |
| Unpacked size | 6.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Sergey Lysenko |
| Maintainers | soulwish |
| Keywords | gruntplugin, plugin, file, files, clean, remove, newline, lines, string, minify, uglify, whitespace, space, minifier, uglifier, strings |

## Links

- npm: https://www.npmjs.com/package/grunt-file-minify
- Repository: https://github.com/soulwish/grunt-file-minify
- Issues: https://github.com/soulwish/grunt-file-minify/issues
- npm.io page: https://npm.io/package/grunt-file-minify

## Dependencies (1)

- [string-minify](https://npm.io/package/string-minify.md) ^1.0.0

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2019-08-19

## README

# grunt-file-minify [![Build Status](https://travis-ci.org/soul-wish/grunt-file-minify.svg?branch=master)](https://travis-ci.org/soul-wish/grunt-file-minify)

> A plugin for simple file minification by removing extra whitespaces, tabs and newline characters.

## Getting Started

```shell
npm install grunt-file-minify --save-dev
```

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

```js
grunt.loadNpmTasks('grunt-file-minify');
```

## The "file_minify" task

### Overview

In your project's Gruntfile, add a section named `file_minify` to the data object passed into `grunt.initConfig()`.

```js
grunt.initConfig({
  file_minify: {
    default: {
      files: {
        // Target-specific file lists and/or options go here.
        'dest/dir/': ['some/src/*.*', 'some/other/src/*.twig']
      }
    }
  }
});
```

## License

MIT © [Sergey Lysenko](http://soulwish.info)

---
_Source: https://npm.io/package/grunt-file-minify · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
