# easyassetbundler

> combines files into a more efficient production asset structure.

Latest version **1.0.11** (published 2020-03-05) · GPL-3 license · 0 weekly downloads

## Install

```sh
npm install easyassetbundler
pnpm add easyassetbundler
yarn add easyassetbundler
bun add easyassetbundler
```

## 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.11 |
| Published | 2020-03-05 |
| First published | 2020-02-29 |
| Weekly downloads | 0 |
| License | GPL-3 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 37.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mike Jouwstra |
| Maintainers | mikejouwstra |
| Keywords | easy, asset, vendor, bundler |

## Links

- npm: https://www.npmjs.com/package/easyassetbundler
- Repository: https://github.com/mikejouwstra/assetbundler
- Homepage: https://github.com/mikejouwstra/assetbundler#readme
- Issues: https://github.com/mikejouwstra/assetbundler/issues
- npm.io page: https://npm.io/package/easyassetbundler

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 1.0.11 (latest) — 2020-03-05
- 1.0.10 — 2020-03-05
- 1.0.9 — 2020-03-05
- 1.0.8 — 2020-02-29
- 1.0.7 — 2020-02-29
- 1.0.6 — 2020-02-29
- 1.0.5 — 2020-02-29

## README

# asset bundler
---
easy to use bundler of asset files.

Set the shared path of your files in bundle.basePath.

Define the order of builds within the bundle.files array.

Define the path to combine your files into with the bundle.output property.

This is a sample snippet which belongs in your package.json file:

```
"assetBundler": {
    "bundles": [
        {
            "basePath": "./node_modules/",
            "files": [
                "angular/angular.min.js",
                "@uirouter/angularjs/release/angular-ui-router.min.js",
                "angular-material/angular-material.min.js"
            ], 
            "output": "./public/js/vendor.js"
        },{
            "basePath": "./assets/js/",
            "files": [
                "app.js",
                "controllers/MainController.js",
                "services/API.js"
            ], 
            "output": "./public/js/scripts.js"
        },{
            "basePath": "./assets/css/",
            "files": [
                "style.css"
            ], 
            "output": "./public/css/style.css"
        }
    ]
}
```

create a npm run script with the following in your package.json:

```
"scripts": {
    "easyassetbundler": "node node_modules/easyassetbundler/cli.js"
}
```

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