# coldbox-elixir-browserify

> ColdBox Elixir Browserify Extension

Latest version **1.0.1** (published 2016-09-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install coldbox-elixir-browserify
pnpm add coldbox-elixir-browserify
yarn add coldbox-elixir-browserify
bun add coldbox-elixir-browserify
```

## 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.1 |
| Published | 2016-09-28 |
| First published | 2016-09-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 10 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jeffrey Way |
| Maintainers | bdw429s, elpete, lmajano |
| Keywords | coldbox, elixir, browserify |

## Links

- npm: https://www.npmjs.com/package/coldbox-elixir-browserify
- Repository: https://github.com/coldbox-elixir/extension-browserify
- Issues: https://github.com/coldbox-elixir/extension-browserify/issues
- npm.io page: https://npm.io/package/coldbox-elixir-browserify

## Dependencies (10)

- [gulp](https://npm.io/package/gulp.md) ^3.9.1
- [babelify](https://npm.io/package/babelify.md) ^7.3.0
- [watchify](https://npm.io/package/watchify.md) ^3.7.0
- [gulp-util](https://npm.io/package/gulp-util.md) ^3.0.7
- [browserify](https://npm.io/package/browserify.md) ^13.0.1
- [partialify](https://npm.io/package/partialify.md) ^3.1.6
- [vinyl-buffer](https://npm.io/package/vinyl-buffer.md) ^1.0.0
- [babel-preset-react](https://npm.io/package/babel-preset-react.md) ^6.5.0
- [babel-preset-es2015](https://npm.io/package/babel-preset-es2015.md) ^6.9.0
- [vinyl-source-stream](https://npm.io/package/vinyl-source-stream.md) ^1.1.0

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2016-09-28
- 1.0.0 — 2016-09-27

## README

# ColdBox Elixir Browserify Support

## Step 1: Install

First ensure, that you're ColdBox Elixir version is up to date. It should be at least version 2 or newer.

```
npm install coldBox-elixir-browserify --save-dev
```

## Step 2: Use It

```js
// Gulpfile.js

var elixir = require( "coldBox-elixir" );

elixir( function( mix ) {
    mix.browserify( "main.js" );
    // mix.browserify(srcPath, outputPath, srcBaseDir, browserifyOptions)
} );
```

This will compile, by default, `resources/assets/js/main.js` to `includes/js/main.js`. Should you require a different source directory, either provide an optional path as the third argument to `mix.browserify`, or begin your path with `./`. This will instruct Elixir to ignore any default base directories.

```js
elixir( function( mix ) {
    mix.browserify( "./app/assets/js/main.js" );
} );
```

The same is true for the output path.

```js
elixir( function( mix ) {
    mix.browserify( "./app/assets/js/main.js", "public/build/bundle.js" );
} );
```

That's it! [Refer to the ColdBox Elixir documentation for more details](https://coldbox-elixir.ortusbooks.com/).

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