# roots-webpack

> Webpack as an asset pipeline for roots

Latest version **0.0.3** (published 2017-01-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install roots-webpack
pnpm add roots-webpack
yarn add roots-webpack
bun add roots-webpack
```

## 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.0.3 |
| Published | 2017-01-19 |
| First published | 2015-06-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Jeff Escalante |
| Maintainers | hhsnopek, jescalan, kylemac |
| Keywords | rootsextension |

## Links

- npm: https://www.npmjs.com/package/roots-webpack
- Repository: https://github.com/carrot/roots-webpack
- Issues: https://github.com/carrot/roots-webpack/issues
- npm.io page: https://npm.io/package/roots-webpack

## Dependencies (4)

- [lodash](https://npm.io/package/lodash.md) 2.x
- [webpack](https://npm.io/package/webpack.md) ^1.8.5 || >2.1.0-beta || >2.2.0-rc
- [minimatch](https://npm.io/package/minimatch.md) 2.x
- [roots-util](https://npm.io/package/roots-util.md) 0.1.x

## Recent versions

- 0.0.3 (latest) — 2017-01-19
- 0.1.0 — 2016-10-27
- 0.0.2 — 2015-11-07
- 0.0.1 — 2015-06-23

## README

# Roots Webpack

[![npm](https://badge.fury.io/js/roots-webpack.svg?style=flat)](http://badge.fury.io/js/roots-webpack) [![tests](https://badge.fury.io/travis/carrot/roots-webpack/master.svg?style=flat)](https://travis-ci.org/carrot/roots-webpack) [![dependencies](https://badge.fury.io/gemnasium/carrot/roots-webpack.svg?style=flat)](https://gemnasium.com/carrot/roots-webpack) [![Coverage Status](https://img.shields.io/coveralls/carrot/roots-webpack.svg?style=flat)](https://coveralls.io/r/carrot/roots-webpack?branch=master)

Webpack as an asset pipeline for roots.

> **Note:** This project is in early development, and versioning is a little different. [Read this](http://markup.im/#q4_cRZ1Q) for more details.

### Installation

- make sure you are in your roots project directory
- `npm install roots-webpack --save`
- modify your `app.coffee` file to include the extension, as such

  ```coffee
  webpack = require('roots-webpack')

  module.exports =
    extensions: [webpack(entry: './index', output: { filename: 'bundle.js' })]
  ```

### Usage

As long as you pass in entries everything will be compiled into `bundle.js`, by default. You may specify any other options by following Webpack's [configuration](http://webpack.github.io/docs/configuration.html). The object passed into this extension is a webpack configuration object, passed straight into webpack.

### License & Contributing

- Details on the license [can be found here](LICENSE.md)
- Details on running tests and contributing [can be found here](contributing.md)

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