# webpack-babel-conf

> webpack babel default configuration

Latest version **1.1.1** (published 2016-07-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install webpack-babel-conf
pnpm add webpack-babel-conf
yarn add webpack-babel-conf
bun add webpack-babel-conf
```

## 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.1.1 |
| Published | 2016-07-31 |
| First published | 2016-05-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=5 |
| Dependencies | 10 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Juan Picado |
| Maintainers | jotadeveloper |

## Links

- npm: https://www.npmjs.com/package/webpack-babel-conf
- Repository: https://github.com/juanpicado/webpack-babel-conf
- Homepage: https://github.com/juanpicado/webpack-babel-conf#readme
- Issues: https://github.com/juanpicado/webpack-babel-conf/issues
- npm.io page: https://npm.io/package/webpack-babel-conf

## Dependencies (10)

- [lodash](https://npm.io/package/lodash.md) ^4.13.1
- [babel-cli](https://npm.io/package/babel-cli.md) ^6.11.4
- [babel-core](https://npm.io/package/babel-core.md) ^6.11.4
- [babel-eslint](https://npm.io/package/babel-eslint.md) ^6.1.2
- [babel-loader](https://npm.io/package/babel-loader.md) ^6.2.4
- [babel-register](https://npm.io/package/babel-register.md) ^6.11.5
- [babel-preset-es2015](https://npm.io/package/babel-preset-es2015.md) ^6.9.0
- [webpack-simple-conf](https://npm.io/package/webpack-simple-conf.md) ^2.0.1
- [babel-preset-stage-2](https://npm.io/package/babel-preset-stage-2.md) ^6.11.0
- [babel-preset-stage-3](https://npm.io/package/babel-preset-stage-3.md) ^6.5.0

## Recent versions

- 1.1.1 (latest) — 2016-07-31
- 1.1.0 — 2016-07-30
- 1.0.5 — 2016-07-25
- 1.0.4 — 2016-07-09
- 1.0.3 — 2016-05-28
- 1.0.2 — 2016-05-28
- 1.0.1 — 2016-05-28
- 1.0.0 — 2016-05-28

## README

## webpack-babel-conf

This module helps to reduce the overloaded webpack configuration using *babel* as a default loader, dependencies management.

    npm install webpack-babel-conf --save-dev

## Usage

1. Create a file in the root folder `webpack.conf.js` and add the following code.

````
    const configuration = require('webpack-babel-conf');
    const webpackConf = configuration(
    './src/index.js',
    './build,
    'index.min.js',
    'myAppFoo',
    'umd');
    module.exports = webpackConf;
````

2. Run webpack in the root folder `webpack --config webpack.conf.js`
3. Look the output file at `build/index.min.js`

#### Options

The module returns a function, it accepts 4 parameters.

1. The entry point file
2. The output name
3. The name of the library
4. The library target


This module extend [webpack-simple-conf](https://github.com/juanpicado/webpack-simple-conf)

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