# webpack-append-files-plugin

> Webpack plugin for append files like `cat fileA >> fileB` in shell.

Latest version **0.2.0** (published 2020-01-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install webpack-append-files-plugin
pnpm add webpack-append-files-plugin
yarn add webpack-append-files-plugin
bun add webpack-append-files-plugin
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2020-01-04 |
| First published | 2020-01-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | scarletsky |
| Maintainers | scarletsky |

## Links

- npm: https://www.npmjs.com/package/webpack-append-files-plugin
- npm.io page: https://npm.io/package/webpack-append-files-plugin

## Dependencies (2)

- [p-queue](https://npm.io/package/p-queue.md) ^6.2.1
- [loader-utils](https://npm.io/package/loader-utils.md) ^1.2.3

## Recent versions

- 0.2.0 (latest) — 2020-01-04
- 0.1.0 — 2020-01-04

## README

# webpack-append-files-plugin

This plugin is used to append files after webpack's `afterEmit` hook.

Unlike `entry: ['fileA', 'fileB']`, it just append files like `cat fileA >> fileB` without doing any transpile.

## Usage

``` js
const AppendFilesPlugin = require('webpack-append-files-plugin');
module.exports = {
    // ...
    plugins: [
        // ... 
        new AppendFilesPlugin({
            // files to append
            files: [
                'public/static/libs/jquery.min.js',
                'dist/app.js',
            ],
            // output name
            filename: 'jquery-before-app.[contenthash:8].js'
        }),
    ]
};
```

---
_Source: https://npm.io/package/webpack-append-files-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
